Labels

PATCH /api/public/labels/{labelId}

Rename a label or change its color.

Request

  • Base URL
    https://api.coach-platform.com
  • Auth
    HTTP bearer

Path parameters

labelIdstring required

Headers

Idempotency-Keystring

Optional. Send a unique key (e.g. a UUID) to make this POST safe to retry. The same key within 24h returns the original result instead of creating a duplicate.

Request body

textstring
colorstring

Tailwind color key, e.g. "green-500"

Response

Successful response

Changes

No recorded changes to this operation across all 6 revisions of this API.