remagicaDocs home
API referenceLibrary

Delete a folder

DELETE
/library/folders/{folderId}

Needs a key withlibrary:delete

Deletes a folder you added. Its items move to the starting folder of its kind; the starting folders can't be deleted.

Requires scope library: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/library/folders/899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05'
Example Response
{  "deleted": true}