remagicaDocs home
API referenceLibrary

Delete an item for good

DELETE
/library/items/{itemId}/permanent

Needs a key withlibrary:delete

Deletes an item in Recently Deleted for good: it can't be restored. Items are purged 30 days after deletion anyway.

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 for good.

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