Admin
Reset User Password
Set a user's password (admin only).
The manage_users permission authorizes this recovery path, so no current password is required. The submitted password is stored only as a hash and is omitted from audit details, logs, and the response.
Returns 422 when the target signs in through an identity provider and has no local password, or 404 when the user does not exist.
Resetting your own password is permitted and ends every session the account holds, including the one making this request, because the reset revokes the account's credentials.
post/admin/users/{user_id}/reset-password/
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (password, token URL /api/auth/login)
- API key in header X-Api-Key
- API key in query parameter api_key
Path parameters
user_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 50 revisions of this API.