Update Client Label
Renames and recolours a custom label. System labels are immutable and are rejected with 422; the `code` is left untouched by a rename.
Authorization
bearerAuth In: header
Path Parameters
Client label identifier
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Writable fields of a custom label. code and kind are not writable: code is derived from name at creation and then fixed, and only custom labels can be written at all.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v2/client-labels/3" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "colour": "#26C281" }'{ "code": "string", "name": "string", "kind": "system", "colour": "string", "id": 0}