---
title: "Remove a video's captions"
description: "Removes a video's captions: the player stops showing them and search and Ask stop reading them."
canonical_url: https://docs.markdrop.in/api/files/remove-a-video-s-captions
last_updated: 2026-11-06
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Remove a video's captions

`DELETE https://api.markdrop.in/api/v1/artifacts/{slug}/captions`

Removes a video's captions: the player stops showing them and search and Ask stop reading them.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 20 per minute per IP address.
- **MCP tool:** `set_captions` ([tools](https://docs.markdrop.in/ai/tools))
- **Guide:** [Captions](https://docs.markdrop.in/files/video-and-audio#captions)

## Path parameters

- `slug` (string, required): The document's address: the part after `markdrop.in/`.

## Responses

- `200`: OK.
  - `slug` (string)
  - `url` (string)
  - `title` (string | null): Shown on the page and in link previews.
  - `kind` (string): Default `"artifact"`.
  - `mime` (string)
  - `renderer` (string)
  - `type_label` (string)
  - `size_bytes` (integer)
  - `original_filename` (string | null)
  - `artifact_url` (string)
  - `workspace_url` (string | null)
  - `download_url` (string)
  - `poster_url` (string | null)
  - `captions_url` (string | null)
  - `captions_name` (string | null)
  - `media` (object | null)
  - `created_at` (string (date-time)): ISO 8601, for example `2026-11-30T12:00:00Z`.
  - `updated_at` (string (date-time)): ISO 8601, for example `2026-11-30T12:00:00Z`.
  - `expires_at` (string (date-time) | null): ISO 8601, for example `2026-11-30T12:00:00Z`.
  - `views` (integer): Default `0`.
  - `is_password_protected` (boolean): Default `false`.
  - `is_owner` (boolean): Default `false`.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl -X DELETE https://api.markdrop.in/api/v1/artifacts/k3x9q2m/captions \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/artifacts/k3x9q2m/captions", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.delete(
    "https://api.markdrop.in/api/v1/artifacts/k3x9q2m/captions",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
)
r.raise_for_status()
print(r.json())
```
