remagicaDocs home
API referenceTemplates

Delete a template

DELETE
/templates/{slug}

Needs a key withtemplates:delete

Deletes a template you saved from a project. Projects made from it stay.

Requires scope templates:delete.

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

slug*string
Length1 <= length <= 80

Response Body

Deleted.

application/json
  1. response
deleted*unknown
Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/templates/string'
Example Response
{  "deleted": true}