Clean up API documentation files by removing Phase X references: Remove 'API Explorer will be inserted here in Phase X' placeholders from: - 70+ API endpoint documentation files - Authentication endpoints (login, logout, register, refresh) - User endpoints (profile, settings, password) - Device endpoints (registration, sync, shelves) - Library endpoints (CRUD, folders, visibility) - Media endpoints (items, progress, highlights, notes) - Admin endpoints (users, analytics) - Sync endpoints (Kobo, KOReader) - OPDS endpoints - Scanner endpoints - Queue endpoints These placeholders were from planning documents and have no meaning to API consumers. The documentation is now clean and ready for use.
729 B
729 B
Change Password
Change the current user's password.
Endpoint: PUT /api/auth/password
Auth: Required
Content-Type: application/json
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| current_password | string | Yes | Current password |
| new_password | string | Yes | New password (min 8 chars) |
Example Request
{
"current_password": "oldPassword",
"new_password": "NewSecureP@ss123!"
}
Response (204 No Content)
Password changed successfully.
Error Responses
| Code | Description |
|---|---|
| 400 | Invalid input or weak password |
| 401 | Current password is incorrect |
| 401 | Invalid or expired token |