Skip to main content

Update Tag

PUT /tags/:id

Update an existing tag. All fields are optional — only provided fields will be updated.

Path Parameters

ParameterTypeDescription
idstring (uuid)The tag ID to update

Request Body

FieldTypeRequiredDescription
namestringNoUpdated tag name
slugstringNoUpdated slug. Must remain unique within your account
descriptionstringNoUpdated description

Example

curl -X PUT https://api.getnexor.ai/api/public/tags/123e4567-e89b-12d3-a456-426614174001 \
-H "Content-Type: application/json" \
-H "X-API-Key: nxr_live_your_api_key" \
-d '{
"name": "Updated Name",
"slug": "updated-slug",
"description": "New description"
}'

Responses

200 — Tag updated successfully

{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174001",
"name": "Updated Name",
"slug": "updated-slug",
"description": "New description",
"created_at": "2026-01-15T09:00:00Z",
"updated_at": "2026-01-20T14:30:00Z"
}
}

401 — Authentication error

See Authentication.

404 — Tag not found

Tag does not exist or does not belong to your account.

409 — Conflict

{
"error": "A tag with this slug already exists"
}

500 — Internal server error