36 lines
485 B
Plaintext
36 lines
485 B
Plaintext
meta {
|
|
name: Delete Ebook
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
delete {
|
|
url: http://localhost:8765/api/ebooks/123e4567-e89b-12d3-a456-426614174000
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
docs {
|
|
## Delete Ebook
|
|
|
|
Removes an ebook from the library.
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Path Parameters:**
|
|
- `id` (string): Ebook UUID
|
|
|
|
**Response:** 204 No Content
|
|
|
|
**Error Responses:**
|
|
- 401: Invalid authentication
|
|
- 404: Ebook not found
|
|
} |