Empty trash for a library
POSThttps://demo.komga.org/api/v1/libraries/:libraryId/empty-trash
Required role: ADMIN
Request
Path Parameters
libraryId stringrequired
Responses
- 202
- 400
Accepted
Bad Request
- */*
- Schema
- Example (auto)
Schema
violations object[]required
{
"violations": [
{
"fieldName": "string",
"message": "string"
}
]
}
Authorization: http
name: basicAuthtype: httpscheme: basic
- curl
- python
- nodejs
- java
- kotlin
- powershell
- swift
- rust
- CURL
curl -L -X POST 'https://demo.komga.org/api/v1/libraries/:libraryId/empty-trash' \
-H 'Authorization: Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'
ResponseClear