Replace user
documentedReplaces a user's profile and/or credentials.
PUT /api/v1/users/{id}Usersno 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}}" \
-X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: SSWS {{OKTA_API_KEY}}" \
-d '{"profile": {"firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "email": "{{$email}}", "login": "{{$login}}", "city": "{{$city}}", "state": "{{$state}}", "zipCode": "{{$zipCode}}", "streetAddress": "{{$streetAddress}}", "timezone": "{{$timezone}}", "title": "{{$title}}", "secondEmail": "{{$secondEmail}}", "mobilePhone": "{{$mobilePhone}}"},"credentials": {"password": {"value": "{{$password}}"}} }'