v2

latestOpenAPI 3.0.02026-07-26365590.3 KB
Tags

Update a tag

Updates an existing tag. Only provided fields will be updated. Returns 404 if the tag is in a workspace outside the API key scope.

patch/v1/tags/{id}

Path parameters

idstring required

Request body

labelstring

The label of the tag

isSuccessTagboolean

Whether the tag represents a successful call outcome

Example request

{
  "label": "Lead"
}

Response

Tag updated successfully

idstring required

Unique identifier of the tag

labelstring required

Label of the tag

isSuccessTagboolean required

Whether the tag represents a successful call outcome

createdAtstring date-time required

Date when the tag was created

updatedAtstring date-time required

Date when the tag was last updated

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "label": "Lead",
  "isSuccessTag": true,
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-01-15T10:30:00.000Z"
}