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