Expire Password and Set Temporary Password
POST {{baseUrl}}/api/v1/users/:userId/lifecycle/expire_password_with_temp_password
Expires a user's password and transitions the user to the status of PASSWORD_EXPIRED
so that the user is required to change their password at their next login, and also sets the user's password to a temporary password returned in the response
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
revokeSessions | boolean | When set to true (and the session is a user session), all user sessions are revoked except the current session. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"tempPassword":"do consectetur nisi Lorem"}