API referenceSprites
Update a folder
PATCH
Needs a key withsprites:write
Renames a folder or moves it (parentId, null for the top level). A folder can't go inside itself or one of its subfolders.
Requires scope sprites:write.
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 <= 128application/json- body
name?stringLength
1 <= length <= 120parentId?|Move it into another folder; null: to the top level. Never into itself or one of its own subfolders.
The folder.
application/json- response
A folder of the studio's characters.
characters*integerCharacters kept directly in it (not in its subfolders).
createdAt*stringFormat
date-timeid*stringLength
1 <= length <= 128name*stringLength
1 <= length <= 120parentId*|The folder it sits in; null: the top level.
updatedAt*stringFormat
date-timecurl -X PATCH 'https://api.remagica.com/api/v1/sprites/folders/5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "characters": 1, "createdAt": "2026-10-21T12:00:00.000Z", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign", "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05", "updatedAt": "2026-10-21T12:00:00.000Z"}