Users
Remove a user's password
Removes the password credential from the given user. This is a privileged operation and does not require the user's current password. Password removal is allowed even when the user has no other sign-in method configured.
If the user does not have a password, the user is returned unchanged and no password-deletion or user-update event is emitted. By default, existing sessions remain active. Set sign_out_of_other_sessions to true to revoke sessions active when the request is processed.
post/users/{user_id}/remove_password
Path parameters
user_idstring required
The ID of the user whose password to remove
Request body
Response
Success
Example response
{
"last_active_at": 1700690400000,
"legal_accepted_at": 1700690400000
}