remagicaDocs home
API referenceSprites

Remove an action

DELETE
/sprites/actions/{actionId}

Needs a key withsprites:write

Removes an action and hides its takes. Its key is free again for a new action.

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

actionId*string
Length1 <= length <= 128

Response Body

Removed.

application/json
  1. response
deleted*unknown
Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/sprites/actions/f0e1d2c3-b4a5-4968-8776-5a4b3c2d1e0f'
Example Response
{  "deleted": true}