Method
deleteModel DELETE
Copy DELETE

Deletes the specified model and all its versions. Models which are currently used in deployments cannot be deleted.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelId str Unique string identifier of the model to delete.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

modelId is not found.

ConflictError

The model is currently used in one or more deployments, used in one or more refresh policies, or has been shared.

Language: