remagicaDocs home
API referenceLibrary

Delete a label

DELETE
/library/labels/{labelId}

Needs a key withlibrary:delete

Deletes a label; the assets that had it keep the rest.

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

labelId*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/labels/e5b488e2-5b3d-4f60-8e2a-1d9c6b4f7e05'
Example Response
{  "deleted": true}