Skip to navigation

Delete a model

View as Markdown

Delete a model and all its versions.

Pending or running training is cancelled first, which stops its cloud training jobs. The response lists the deleted versions in affected_objects.

Requires an API key with the write scope.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

ml_model_idstringRequired

Response

OK
deletedboolean
affected_objects_countinteger
affected_objectslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error