Delete Template Folder

Delete a template folder from your workspace

Published ·Updated

DELETE
/v1/studio/folders/{folderId}
curl -X DELETE "https://api.orshot.com/v1/studio/folders/<FOLDER_ID>" \
  -H "Authorization: Bearer <ORSHOT_API_KEY>"

Overview#

Delete a template folder. The templates inside it are not deleted; they move back to "All templates".

Endpoint
https://api.orshot.com/v1/studio/folders/:folderId

Path Parameters#

ParameterTypeRequiredDescription
folderIdIntegerYesThe unique ID of the folder

Request#

JavaScript
await fetch("https://api.orshot.com/v1/studio/folders/11", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
});
JSON
{
  "success": true
}

Error Responses#

Folder Not Found (404)#

JSON
{
  "error": "Folder not found"
}

Invalid Folder ID (400)#

JSON
{
  "error": "folderId must be a number"
}

Notes#

  • Deleting a folder never deletes templates. Everything inside returns to "All templates".

Rate Limits#

  • 30 requests per minute per API key, shared with the other studio template, folder and sharing endpoints
Was this page helpful?

Ready to automate?

Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.

Get your API key
  • Image, PDF and video generation via API
  • Visual editor with AI and smart layouts
  • Zapier, Make, MCP and 40+ integrations
  • White-label embed for your own app
  • 100 free credits a month, no credit card required