POST /api/v1/users/{userId}/credentials/forgot_password

Starts the forgot password flow.

Generates a one-time token (OTT) that you can use to reset a User's Password.

The User must validate their security question's answer when visiting the reset link. This operation can only be performed on Users with an ACTIVE status and a valid Recovery Question credential.

Note: If you have migrated to Identity Engine, you can allow Users to recover passwords with any enrolled MFA authenticator. See Self-service account recovery

If an email address is associated with multiple Users, keep in mind the following to ensure a successful password recovery lookup:

If sendEmail is false, returns a link for the User to reset their Password. This operation doesn't affect the status of the User.

Servers

Path parameters

Name Type Required Description
userId String Yes

ID of an existing Okta user

Query parameters

Name Type Required Description
sendEmail Boolean No

Sends a forgot password email to the User if true

Default value: true

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.