Delete a model and all its versions
DELETE/models/:modelId
Available in development only — the sandbox and production tables are replicas of development, so models cannot be written there.
Deletes the model outright: every version and every environment pointer. Permitted only if no version of the model was ever published beyond development — once a version has been frozen for sandbox or production, neither it nor the model can be deleted.
Request
Responses
- 204
- 401
- 403
- 404
- 409
Model deleted successfully
Missing or invalid bearer token
Token does not carry the management:models:write scope, or models are read-only in this environment
Model not found
A version of this model has been published beyond development and cannot be deleted