Sign in

Reset password

documented

Resets a user's password.

POST /api/v1/users/{id}/lifecycle/resetPasswordUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{OKTA_DOMAIN}}/admin/api/v1/users/{{$user_id}}/lifecycle/resetPassword?sendEmail={{$sendEmail}}&revokeSessions={{$revokeSessions}}" \
  -X POST \
  -H "Authorization: SSWS {{OKTA_API_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"sendEmail": {{$sendEmail}}, "revokeSessions": {{$revokeSessions}}}'