Method
Deletes the specified model and all its versions. Models which are currently used in deployments cannot be deleted.
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.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
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. |