API reference
PATCHRequires Bearer token
Change password
/api/v1/profile/{user}/update-password
Update `/api/v1/profile/{user}/update-password`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.
Path parameters
| Field | Type | Description |
|---|---|---|
user Required | string | Path parameter `user`. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
current_password Required | string | Current password. |
password Required | string | New password. |
Responses
| Status | Meaning |
|---|---|
| 500 | See the example response. |