Labels

Update label

Renames a label or changes its color. Send both fields.

put/labels/{label}

Request

  • Base URL: https://app.trypost.it/api
  • URL: https://app.trypost.it/api/labels/{label}
  • Auth: HTTP bearer

Request body

namestring required
colorstring required

Hex color, #RRGGBB.

Response

The updated label.

idstring uuid
namestring
colorstring

Hex color, #RRGGBB.

created_atstring

UTC, format Y-m-d H:i:s.

updated_atstring

UTC, format Y-m-d H:i:s.

Example response

{
  "color": "#2563EB",
  "created_at": "2026-09-01 10:00:00",
  "updated_at": "2026-09-01 10:00:00"
}

Changes

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