Files
bookhoard/docs/api/collections/delete_collection.md
T

28 lines
589 B
Markdown

# Delete Collection
Delete a collection. Books are NOT deleted.
**Endpoint**: `DELETE /api/collections/{id}`
**Auth**: Required
**Content-Type**: `application/json`
## Path Parameters
| Parameter | Type | Required | Description |
|-----------|------|-----------|-------------|
| id | string (UUID) | Yes | Collection UUID |
## Response (204 No Content)
Collection deleted successfully. No response body.
## Error Responses
| Code | Description |
|------|-------------|
| 401 | Authentication required |
| 404 | Collection not found |
| 500 | Internal server error |
## Try It Out