Skip to content

Update a Password

Request

OAuth 2.0 scope:
  • okta.myAccount.password.manage

Updates a password. The user needs to know the current password to change it.

Headers
Acceptstringrequired

Specifies the API version. Current version: 1.0.0

Example:application/json; okta-version=1.0.0
Bodyapplication/json

New password

oldPasswordstringrequired
Example:"Abcd1234"
newPasswordstringrequired
Example:"Abcd12345"
POST
/idp/myaccount/password/change-password
curl -i -X POST \
  https://okta-subdomain.pixtulate.com/idp/myaccount/password/change-password \
  -H 'Accept: application/json; okta-version=1.0.0' \
  -H 'Content-Type: application/json' \
  -d '{
    "oldPassword": "Abcd1234",
    "newPassword": "Abcd12345"
  }'

Responses

No Content

Response
No content