Skip to main content
PATCH
Actualizar una etiqueta
Updates a tag in place. Tickets and customers reference tags by id, so a rename shows up everywhere the tag is applied. The scope cannot change.

Endpoint

Required scope

crm:tags:write

Headers

Path parameters

Body

All fields optional. Send only what changes.

Example request

Response

200 OK

400 Bad Request

  • Another tag of the same scope already has that name (Tag name already exists for this scope).
  • The category belongs to the other scope (Tag scope must match its category scope).
  • An empty name, a malformed category_id, or a property the endpoint does not accept — including scope.

401 Unauthorized

Missing, invalid, revoked, or expired token.

403 Forbidden

The token does not have the crm:tags:write scope.

404 Not Found

No tag with that id in your company (Tag not found), or category_id does not match a category of your company (Tag category not found).

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Body

application/json
name
string

Nuevo nombre, único por scope.

color
string

Color hexadecimal.

category_id
string | null

Categoría de la etiqueta, del mismo scope. null la deja sin categoría.

Response

200 - application/json
tag
object
required