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