deleteAuthorizer method
Deletes an Authorizer.
May throw NotFoundException. May throw TooManyRequestsException.
Parameter apiId
:
The API identifier.
Parameter authorizerId
:
The authorizer identifier.
Implementation
Future<void> deleteAuthorizer({
required String apiId,
required String authorizerId,
}) async {
ArgumentError.checkNotNull(apiId, 'apiId');
ArgumentError.checkNotNull(authorizerId, 'authorizerId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v2/apis/${Uri.encodeComponent(apiId)}/authorizers/${Uri.encodeComponent(authorizerId)}',
exceptionFnMap: _exceptionFns,
);
}