Skip to main content
PATCH
Update Knowledge Tag

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Body

application/json
name
string
required

New name for the tag. Must be unique within the workspace.

Required string length: 1 - 50
tag_id
string
required

ID of the tag to rename. See List Knowledge Type Tags.

Response

Tag updated successfully.

binding_count
string | null

Number of knowledge bases bound to this tag.

id
string

Tag identifier.

name
string

Tag display name.

type
string

Tag type. Always knowledge for knowledge base tags.