Mail API reference

Mail API · Labels

delete/v1/workspaces/{workspace_id}/labels/{id}Auth

Delete a label

Removes it from every thread. Needs `mail.label.manage`. Written to the workspace audit log (`mail.label.deleted`).

Path parameters

workspace_id*string · uuid

Id of the workspace.

id*string · uuid

Label id.

Headers

Idempotency-Keystring

Opaque client-generated string (1–256 chars, `[A-Za-z0-9._:-]`) used to deduplicate retries within a 24h window. A retry with the same key and body returns the original response with `Idempotent-Replay: true`.

Response · 204

Deleted.