remagicaDocs home
API referenceProjects

Delete a folder

DELETE
/project-folders/{folderId}

Needs a key withprojects:delete

Deletes a folder and its subfolders. The projects in them stay, at the top level.

Requires scope projects:delete.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Path Parameters

folderId*string
Length1 <= length <= 128

Response Body

Deleted.

application/json
  1. response
deleted*unknown
Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/project-folders/899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05'
Example Response
{  "deleted": true}