Inboxes

Update a label

Rename or recolor a label. At least one of name or color. Requires the inbound:read scope.

patch/v1/inboxes/{inbox_id}/labels/{label_id}

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/inboxes/{inbox_id}/labels/{label_id}
  • Auth: HTTP bearer

Path parameters

inbox_idstring required

The inbox id or its email address

label_idstring required

The label id

Request body

namestring
color'cyan' | 'teal' | 'grass' | 'lime' | 'yellow' | 'orange' | 'iris' | 'plum' | 'crimson' | 'bronze' | 'mauve'

Response

Updated

objectstring
idstring

Example response

{
  "object": "inbox_label"
}

Changes

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