- okta.users.manage
Resets the user's password to the specified password if the provided answer to the recovery question is correct. You must include the recovery question answer with the submission.
Specifies a password for a user.
When a user has a valid password, imported hashed password, or password hook, and a response object contains a password credential, then the password object is a bare object without the value property defined (for example, password: {}). This indicates that a password value exists. You can modify password policy requirements in the Admin Console by editing the Password authenticator: Security > Authenticators > Password (or for Okta Classic orgs, use Security > Authentication > Password).
For information on defaults and configuring your password policies, see Configure the password authenticator in the help documentation.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/credentials/forgot_password_recovery_question
curl -i -X POST \
'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/credentials/forgot_password_recovery_question?sendEmail=true' \
-H 'Content-Type: application/json' \
-d '{
"password": {
"value": "uTVM,TPw55"
},
"recovery_question": {
"answer": "Annie Oakley"
}
}'Credentials
Specifies a password for a user.
When a user has a valid password, imported hashed password, or password hook, and a response object contains a password credential, then the password object is a bare object without the value property defined (for example, password: {}). This indicates that a password value exists. You can modify password policy requirements in the Admin Console by editing the Password authenticator: Security > Authenticators > Password (or for Okta Classic orgs, use Security > Authentication > Password).
For information on defaults and configuring your password policies, see Configure the password authenticator in the help documentation.
Specifies the authentication provider that validates the user's password credential. The user's current provider is managed by the Delegated Authentication settings for your org. The provider object is read-only.
{ "password": {}, "recovery_question": { "question": "Who's a major player in the cowboy scene?" }, "provider": { "type": "OKTA", "name": "OKTA" } }