POST
/v1/auth/password/update

Update the user's password of an existing user utilizing the password API.

Next Steps

Sign the user in with their new password via Sign-In

See Also

  • See The User Object for further details on how to identify users and their contact information such as email addresses and phone number.
  • You can also utilize Replace Password or Reset Password as alternatives to change a user's password.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<Project ID:Refresh JWT\>

Try it

/v1/auth/password/update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

loginIdstring

newPasswordstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/auth/password/update" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <Project ID:Refresh JWT>" \
  -d '{
  "loginId": "string",
  "newPassword": "string"
}'
Was this helpful?