API referenceLibrary
Delete a folder
DELETE
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.
apiKeyheader
x-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.
folderId*stringLength
1 <= length <= 128Deleted.
application/json- response
deleted*unknowncurl -X DELETE 'https://api.remagica.com/api/v1/library/folders/899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05'Example Response
{ "deleted": true}