Reset a user’s password (superadmin only).
Can either send a reset link email or set a new password directly. Invalidates all of the user’s refresh tokens, forcing them to log in again.
cURL
curl --request PUT \ --url https://api.example.com/api/v1/users/{user_id}/password \ --header 'Content-Type: application/json' \ --data ' { "new_password": "<string>", "send_reset_link": false } '
{}
Request schema for resetting a user's password.
Used by superadmins to reset user passwords.
New password
1
Whether to send a password reset link instead of setting password directly
Successful Response