POST /api/v1/users/{id}/lifecycle/expire_password
Expires the password. This operation transitions the user status to PASSWORD_EXPIRED so that the user must change their password the next time that they sign in.
If you have integrated Okta with your on-premises Active Directory (AD), then setting a user's password as expired in Okta also expires the password in AD.
When the user tries to sign in to Okta, delegated authentication finds the password-expired status in AD,
and the user is presented with the password-expired page where they can change their password.
Note: The Okta account management policy doesn't support the
/users/{id}/lifecycle/expire_passwordendpoint. See Configure an Okta account management policy.
Servers
- https://{yourOktaDomain}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | Yes |
An ID, login, or login shortname (as long as the shortname is unambiguous) of an existing Okta user |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.