---
title: "Delete a mailbox label"
method: DELETE
path: "/v1/mailboxes/{id}/labels/{labelId}"
tags: ["Mailboxes"]
---

# Delete a mailbox label

`DELETE /v1/mailboxes/{id}/labels/{labelId}`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/mailboxes/{id}/labels/{labelId}`
- Auth: API key in header `x-api-key`

Deletes a label and removes it from every thread that carries it.

## Path parameters

- `id` string, required
- `labelId` string, required

## Response `200`

SuccessResponse

- SuccessResponse
  - `success` boolean, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
