cURL
curl --request PUT \ --url https://www.getsnippets.ai/api/prompts/tag \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "tagName": "<string>", "tagColor": "<string>", "parentTagId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
200
Example
{ "success": true, "data": { "tag": {} }, "usage": { "remainingRequests": 123 }}
Updates an existing tag. API Cost: 1 request.
API key authentication using Bearer token. Include your API key in the Authorization header.
The ID of the tag to update
1000
100
Tag updated successfully
true
Show child attributes