Email & PEC

Label a message

Attach or remove labels on an archived message — the one write allowed against a received message, because a label sits beside the record rather than changing it. Labels must already exist; pass their names.

patch/api/v1/rest/email/messages/{id}/labels

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/email/messages/{id}/labels
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Request body

addstring[]
removestring[]

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

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