---
title: "Remove a passage through a share link"
method: DELETE
path: "/embed/media/{mediaId}/labels/{mediaLabelId}"
tags: ["Shared Links"]
---

# Remove a passage through a share link

`DELETE /embed/media/{mediaId}/labels/{mediaLabelId}`

## Request

- Base URL: `https://api.speakai.co/v1`
- URL: `https://api.speakai.co/v1/embed/media/{mediaId}/labels/{mediaLabelId}`
- Auth: none required

Remove your own labelled passage through a dashboard share link. Allowed while labels are on with `labels.mode` set to `apply`. No API key or access token: the share link `token` is the only credential. The media must be in one of the dashboard's folders. Every refusal returns the same `404 {"message": "Not found."}`, so a link holder cannot tell which check failed. The entry is recorded under `reviewerName` via this dashboard. The name is chosen by the link holder and not authenticated, the same as feedback; only a name the dashboard allows is accepted. A name can change or delete only the entries written under it from the same dashboard. Writes are limited to 30 requests a minute per IP address.

## Path parameters

- `mediaId` string, required
- `mediaLabelId` string, required

## Query parameters

- `token` string, required

## Request body

- object
  - `reviewerName` string, required: The name you write as: one of `annotationSettings.reviewers`, or any name when `allowOtherReviewer` is true. Chosen by the link holder and not authenticated. Trimmed; a listed name in another case is stored with the listed spelling. Required.

## Response `200`

Success

- object
  - `status` 'success': `success` on every 2xx response.
  - `data` object: The result.
    - `mediaLabelId` string: Id of the passage you removed.

## Other responses

- `404`: Any refusal: unknown or revoked token, expired subscription, the setting is off, view mode on a write, media outside the link, a name that is not allowed, or someone else's entry
- `429`: Rate limit reached

---

[API](https://skmtc.dev/speakai/apis/speak-ai-api.md) · [All operations](https://skmtc.dev/speakai/apis/speak-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/speakai/apis/speak-ai-api/revisions/52d777e6d46e?raw)
