Skip to content

Update Label

Tool name: update-label

Updates a label's name or note; omitted values stay. A new name appears on every object that carries the label.

Input schema

labelIdinteger, >= 1required

ID of the label to change

namenull or string, [ 1 .. 250 ] characters

New name, unique within the account, without HTML; omit to keep

Default:null
notesnull or string, <= 1000 characters

Internal note; an empty string removes it; omit to keep

Default:null
accountIdnull or integer, >= 1

User ID of the account; omit for the account of the access token

Default:null
Input example
{ "labelId": 1, "name": null, "notes": null, "accountId": null }

Output schema

accountIdintegerrequired
labelIdintegerrequired
namestringrequired
notesstringrequired
usageCountintegerrequired
usedByArray of objectsrequired
editUrlstringrequired
Output example
{ "accountId": 0, "labelId": 0, "name": "string", "notes": "string", "usageCount": 0, "usedBy": [ { "id": 0, "name": "string", "type": "string" } ], "editUrl": "string" }