---
title: "Remove a label from a message"
method: DELETE
path: "/addresses/{email}/messages/{messageId}/labels/{label}"
tags: ["Messages"]
---

# Remove a label from a message

`DELETE /addresses/{email}/messages/{messageId}/labels/{label}`

Removes a label from a message. Returns 200 with a subset of the message object when successful.

When the label did not exists on the message, the message is not modified and the API endpoint returns 200.

## Response `200`

Removes the label from a message.

- object
  - `_id` string, string — Unique Mailsac-generated identifier for an email message
  - `labels` MessageLabel[] — Labels for an email message

## Other responses

- `401` — Not authorized. You may need to log in first.
- `404` — Message not found by id...

---

[API](https://skmtc.net/mailsac/apis/mailsac-api-specification.md) · [All operations](https://skmtc.net/mailsac/apis/mailsac-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mailsac/mailsac-api-specification/revisions/5f8b55c76229/schema)
