Sales
Edit a lead tag
Renames a tag, changes its colour or position, or sets or clears its queue (send queue_id null to clear). Answers 403 desk.sales_off while Sales is switched off.
Requires: desk.admin scope, workspace owner or admin, Pro plan.
Authorization
bearerAuth AuthorizationBearer <token>
A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Path Parameters
id*string
The tag's id (a UUID).
Request Body
application/json
Response
OK
Example
{ "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37", "name": "Amina Wanjiru", "position": 1, "archived_at": "2026-10-14T08:30:00Z", "colour": "#1D4ED8", "queue_id": "c70c2d37-4d65-4ba4-9843-5e8aaf2dae40", "queue_name": "Support"}FieldTypeDescription
idrequiredstring (uuid)namerequiredstringA name for it.positionrequiredintegerWhere it sits in the list, starting at 0.archived_atrequiredstring (date-time) | nullcolourrequiredstringqueue_idrequiredstring (uuid) | nullThe id of the queue that receives what arrives here.queue_namestringcurl -X PATCH "https://api.sautidesk.com/v1/desk/tags/string" \ -H "Content-Type: application/json" \ -d '{ "name": "Amina Wanjiru", "colour": "#1D4ED8", "position": 1, "queue_id": {} }'