deleteGraphqlApi method
Deletes a GraphqlApi
object.
May throw BadRequestException. May throw ConcurrentModificationException. May throw NotFoundException. May throw UnauthorizedException. May throw InternalFailureException. May throw AccessDeniedException.
Parameter apiId
:
The API ID.
Implementation
Future<void> deleteGraphqlApi({
required String apiId,
}) async {
ArgumentError.checkNotNull(apiId, 'apiId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/apis/${Uri.encodeComponent(apiId)}',
exceptionFnMap: _exceptionFns,
);
}