Labels

Delete a label

Requires scope: manage or inbox (inbox only in a signed-in dashboard session; no API key or app can hold it). Deletes the label and takes it off every thread that carries it.

delete/v1/labels/{id}

Request

  • Base URL: https://api.mails.ai
  • URL: https://api.mails.ai/v1/labels/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Label id (lbl_…).

Response

The deleted label's id.

idstring required

The deleted label's id (lbl_…).

deletedboolean required

Always true: the label is deleted, and its name is taken off every thread that carried it.

Changes

No recorded changes to this operation across all 1 revision of this API.