Deletes a training job. Stops it first if still running.
cURL
curl --request DELETE \ --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id} \ --header "Authorization: Api-Key $BASETEN_API_KEY"
{ "id": "<string>", "deleted": true, "training_project_id": "<string>" }
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Authorization: Api-Key <Your_Api_Key>
A training job tombstone.
Unique identifier of the training job
Whether the training job was deleted
Unique identifier of the training project
Was this page helpful?