remagicaDocs home
API referenceLibrary

Delete an item

DELETE
/library/items/{itemId}

Needs a key withlibrary:delete

Removes an item from the Library. Prompts that still mention it fail with a message saying it was deleted.

Requires scope library: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

itemId*string
Length1 <= length <= 128

Response Body

Deleted.

application/json
  1. response
deleted*unknown
Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/library/items/3f0c7a52-2f47-4a51-9b3e-9d7c0a1e6b21'
Example Response
{  "deleted": true}