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