Skip to main content
POST
/
api
/
v1
/
libraries
/
{libraryId}
/
empty-trash
Empty trash for a library
curl --request POST \
  --url https://demo.komga.org/api/v1/libraries/{libraryId}/empty-trash \
  --header 'Authorization: Basic <encoded-value>'
{
  "violations": [
    {
      "fieldName": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

libraryId
string
required

Response

Accepted