---
title: "Delete Label Endpoint"
method: DELETE
path: "/admin/email-classifier/labels/{gmail_message_id}"
tags: ["admin-email-classifier"]
---

# Delete Label Endpoint

`DELETE /admin/email-classifier/labels/{gmail_message_id}`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/admin/email-classifier/labels/{gmail_message_id}`
- Auth: none declared

Delete a labeled email row and its S3 body. 403 if not the caller's.

## Path parameters

- `gmail_message_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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