deleteApiKey method

Future<void> deleteApiKey({
  1. required String apiKey,
})

Deletes the ApiKey resource.

May throw BadRequestException. May throw ConflictException. May throw NotFoundException. May throw TooManyRequestsException. May throw UnauthorizedException.

Parameter apiKey : The identifier of the ApiKey resource to be deleted.

Implementation

Future<void> deleteApiKey({
  required String apiKey,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/apikeys/${Uri.encodeComponent(apiKey)}',
    exceptionFnMap: _exceptionFns,
  );
}