# Delete a transcript

Deletes a transcript and its audio, and stops its job if it still runs.

`DELETE /v1/transcripts/{id}` on `https://api.eu.vatis.tech`

> **Needs batch transcription.** Transcripts are the results of files, so this works once batch is open on your workspace ([Batch transcription](https://platform.vatis.tech/docs/batch)). A live session keeps no transcript.

## Path parameters

| parameter | values | default | meaning |
|---|---|---|---|
| `id` | a transcript id, `tr_...` | required | The transcript: the `id` of the answer to [Create a transcript](https://platform.vatis.tech/docs/endpoints/create-a-transcript). |

## Headers

| header | values | default | meaning |
|---|---|---|---|
| `Authorization` | `Bearer <api key>` | required | Your API key ([Authentication and API keys](https://platform.vatis.tech/docs/authentication)). |

## Responses

`204`: Deleted. The answer has no body.

`400` `invalid_parameter`: A query parameter: this endpoint takes none ([Strict parameters](https://platform.vatis.tech/docs/errors#strict-parameters)).

`401` `unauthorized`: No key, or a wrong, revoked or expired one.

```json
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid, revoked or expired key.",
    "param": null,
    "request_id": "req_bf2fed760ba5437ba0933a57"
  }
}
```

`404` `not_found`: An id that is unknown, deleted or past its 7 days; one sent with `store=false`; or another key's transcript, to a Member key.

```json
{
  "error": {
    "code": "not_found",
    "message": "Transcript not found.",
    "param": null,
    "request_id": "req_bf2fed760ba5437ba0933a57"
  }
}
```

`503` `unavailable`: The service is busy for a moment. Send the request again after the seconds of the `Retry-After` header.

## Notes

- The audio stays counted in your usage ([Get usage](https://platform.vatis.tech/docs/endpoints/get-usage)), and the job's Activity row stays, with `deleted_at` ([List activity](https://platform.vatis.tech/docs/endpoints/list-activity)).
- An Admin key deletes every key's transcripts: check the `id` or your own `metadata` before you delete ([Who sees which transcripts](https://platform.vatis.tech/docs/batch/manage-transcripts#who-sees-which-transcripts)).
