User

Expire Password

This operation transitions the user to the status of PASSWORD_EXPIRED so that the user is required to change their password at their next login.

post/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false

Request

  • Base URL
    https://your-subdomain.okta.com
  • Auth
    API key in header Authorization

Path parameters

userIdstring required

Response

Success

_embeddedobject
_linksobject
activatedstring date-time
createdstring date-time
idstring
lastLoginstring date-time
lastUpdatedstring date-time
passwordChangedstring date-time
status'ACTIVE' | 'DEPROVISIONED' | 'LOCKED_OUT' | 'PASSWORD_EXPIRED' | 'PROVISIONED' | 'RECOVERY' | 'STAGED' | 'SUSPENDED'
statusChangedstring date-time
transitioningToStatus'ACTIVE' | 'DEPROVISIONED' | 'LOCKED_OUT' | 'PASSWORD_EXPIRED' | 'PROVISIONED' | 'RECOVERY' | 'STAGED' | 'SUSPENDED'

Changes

No recorded changes to this operation across all 1 revision of this API.