Delete a folder
Delete an existing folder and remove folder references from all templates within it.
Templates themselves are not deleted, only their association with the folder.
Sample Request
Section titled “Sample Request”Here’s a sample request to delete a folder:
DELETE /v1/folder/{id}fetch(`https://api.templated.io/v1/folder/${folderId}`, { method: 'DELETE', headers: { 'Authorization': Bearer ${API_KEY} }})Path Parameters
Section titled “Path Parameters”id string REQUIRED
The unique identifier of the folder you want to delete.
Response
Section titled “Response”A successful deletion returns an empty response with a 204 status code. When deleting a folder:
- All templates previously in the folder will have their folder reference removed
- The folder will be permanently deleted
- Templates themselves are not deleted, only their association with the folder