Skip to main content
PUT
/
api
/
agent-tags
/
{tagId}
cURL
curl -X PUT "https://app.cotool.ai/api/agent-tags/:tagId" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":null}'
{
  "success": true,
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

tagId
string<uuid>
required

Unique identifier of the tag to rename

Body

application/json

Request body for renaming a tag

name
string
required

New name for the tag

Required string length: 1 - 100

Response

200 - application/json

Successful response

Result of tag rename

success
boolean
required

Whether the rename was successful

error
string

Error message if rename failed