Deactivate user
documentedDeactivates a user.
POST /api/v1/users/{id}/lifecycle/deactivateUsersno implementation yet0 runsNo 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}}/api/v1/users/{{$user_id}}/lifecycle/deactivate?sendEmail={{$sendEmail}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"