cURL
curl --request PATCH \ --url https://server.promptwatch.com/api/v2/tags/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "promptCount": 123 }
Rename an existing tag
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Tag ID
New name for the tag
1
Default Response
Tag unique identifier
Tag name
Number of prompts using this tag