Create Client Label
Creates a custom client label. The `code` is derived from `name` and is not accepted from the request: it is the stable identifier logic keys off, so it never changes once assigned.
Authorization
bearerAuth In: header
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
curl -X POST "https://example.com/api/v2/client-labels" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "colour": "#26C281" }'{ "code": "string", "name": "string", "kind": "system", "colour": "string", "id": 0}