# Database Database administration ## Endpoints ### POST /api/v1/admin/database/clear **Authentication:** Required (Bearer JWT) #### Responses | Status | Description | | ------ | --------------------- | | 200 | Database cleared | | 401 | Unauthorized | | 403 | Forbidden | | 500 | Internal server error | --- ### GET /api/v1/admin/database/stats **Authentication:** Required (Bearer JWT) #### Responses | Status | Description | | ------ | --------------------- | | 200 | Database statistics | | 401 | Unauthorized | | 403 | Forbidden | | 500 | Internal server error | --- ### POST /api/v1/admin/database/vacuum **Authentication:** Required (Bearer JWT) #### Responses | Status | Description | | ------ | --------------------- | | 200 | Database vacuumed | | 401 | Unauthorized | | 403 | Forbidden | | 500 | Internal server error | ---