API Reference
Delete a model. Only the latest version can be deleted, and it must have no model runs.
cURL
curl --request DELETE \ --url https://app.gomangrove.com/api/v1/models/{model_id} \ --header 'Authorization: <api-key>'
{ "status": "error", "statusCode": 422, "errors": [ { "message": "Cannot delete model with existing model runs" } ] }
Model friendly ID (e.g., mdl_abc123def456)
204 No Content