remagicaDocs home
API referenceSprites

Remove a frame

DELETE
/sprites/frames/{frameId}

Needs a key withsprites:write

Removes an unlocked frame (an in-between or any other) and moves the later frames back one, with the action's loop points, storyboard keys and cancel window. The take is scored again; an approved take goes back to review. A take keeps at least one frame.

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

frameId*string
Length1 <= length <= 128

Response Body

Removed.

application/json
  1. response

The frame is gone and the later ones moved back.

deleted*unknown
take*

The frame's take, after the edit.

Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/sprites/frames/f68c2bb4-5b3d-4f60-8e2a-1d9c6b4f7e05'
Example Response
{  "deleted": true,  "take": {    "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",    "status": "queued"  }}