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. |
KEY | TYPE | DESCRIPTION |
---|---|---|
success | Boolean | true if the call succeeded, false if there was an error |
TYPE | WHEN |
---|---|
DataNotFoundError |
|
ConflictError | The model is currently used in one or more deployments, used in one or more refresh policies, or has been shared. |