user
Change user password
Changed onChange the user's password. The user must be authenticated with elevated permissions or provide a valid password reset ticket.
All of the user's existing sessions are revoked atomically as part of this operation, including the session used to make the request. Clients must treat the user as signed out after a successful response and obtain a new session via sign-in.
post/user/password
Request
- Base URLhttps://{subdomain}.auth.{region}.nhost.run/v1
- URLhttps://{subdomain}.auth.{region}.nhost.run/v1/user/password
- Auth
- HTTP bearer
- or none
Request body
Example request
{
"newPassword": "Str0ngPassw#ord-94|%"
}Response
Password changed successfully
'OK' required
Changes
- warning
added the new
otp-too-many-attemptsenum value to theresponse property for the response status
- warning
- warning
added the new
user-already-existsenum value to theresponse property for the response status - info
removed the
email-already-in-useenum value from theresponse property for the response status
- warning