> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a training job

> Delete a Fastino training job and its associated checkpoints.

`DELETE /v1/training-jobs/{job_id}`

Deletes the job and its stored artifacts. If the job is active, the service also stops it.

<Warning>
  Deletion is irreversible. First download anything you need into storage you control. Deletion removes checkpoints and stored artifacts and releases active hosted deployments.
</Warning>

## Request

<ParamField header="X-API-Key" type="string" required>
  Your Fastino API key.
</ParamField>

<ParamField path="job_id" type="string" required>
  Training-job UUID.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.fastino.ai/v1/training-jobs/YOUR_TRAINING_JOB_ID \
    -H "X-API-Key: $FASTINO_API_KEY"
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "message": "Training job deleted"
  }
  ```
</ResponseExample>

An unknown or inaccessible job returns `404`.
