Mailboxes

Update a mailbox label

Updates the fields you name and keeps the rest.

patch/v1/mailboxes/{id}/labels/{labelId}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/labels/{labelId}
  • Auth: API key in header x-api-key

Path parameters

idstring required
labelIdstring required

Request body

displayNamestring nullable
color'billing' | 'domain' | 'agent' | 'routing' | 'important' | 'neutral' nullable

Response

MailboxLabel

idstring required
slugstring required
displayNamestring required
color'billing' | 'domain' | 'agent' | 'routing' | 'important' | 'neutral' nullable required
createdAtstring required
updatedAtstring required

Changes

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