Skip to main content

Delete a custom model

DELETE 

/v1/models/:model_uuid

Permanently delete a custom model.

Concurrency. Refuses to delete a model with an in-progress update status - either pending or running - and will fail with error MODEL_HAS_ACTIVE_UPDATE. In this case, wait for the update to settle, then retry. A model in failed state can be deleted at any time and is the supported way to escape failed.

Idempotency. Not idempotent: a second DELETE of the same UUID returns MODEL_NOT_FOUND.

Authentication. Requires a valid X-API-Key header.

Request

Responses

Empty body. The model has been removed.