mail

Rename or recolor a label

Scope: send or manage. name renames the label on every conversation this credential can reach (merging into an existing label of that name); the color moves with it. color sets a display color (#rrggbb), or "" clears it. Renaming a label no conversation has returns 404 label_not_found.

patch/v1/labels/{label}

Request

  • Base URL: https://botmail.pro
  • URL: https://botmail.pro/v1/labels/{label}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie bm_session

Query parameters

mailbox_idstring

Limit to one mailbox. Omit for every mailbox the credential can access.

Request body

namestring
colorstring

Response

The label after the change.

labelstring
colorstring
conversations_renamedinteger

Changes

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