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