remagicaDocs home
API referenceSprites

Delete a folder

DELETE
/sprites/folders/{folderId}

Needs a key withsprites:write

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

Requires scope sprites:write.

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/sprites/folders/5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a'
Example Response
{  "deleted": true}