cURL
curl --request PUT \ --url https://kan.bn/api/v1/labels/{labelPublicId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "colourCode": "<string>" } '
{ "publicId": "<string>", "name": "<string>", "colourCode": "<string>" }
Updates a label by its public ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
12
1 - 36
7
Successful response