Skip to content

Change User Password (Admin)​

POST
/auth/password-change/admin

Change password for any user. Requires admin or superadmin role. Non-superadmin cannot change superadmin passwords. Invalidates all active sessions for the target user.

Authorizations​

SessionAuth

Session ID for authenticated requests

TypeAPI Key (header: X-Session-ID)

Request Body​

application/json
JSON
{
"user_id": "usr_123abc",
"new_password": "NewSecurePass123!"
}

Responses​

Password changed successfully

application/json
JSON
{
"success": true,
"message": "Password updated successfully. User will need to log in again."
}

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI