Sign in

Update user

documented

Updates a user's profile or credentials (partial update).

POST /api/v1/users/{id}Usersno 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}}/api/v1/users/{{user_id}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"profile": {"firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "email": "{{$email}}", "login": "{{$login}}", "mobilePhone": "{{$mobilePhone}}"}, "credentials": {"password": {"value": "{{$password}}"}}}'
Update user · Okta · OpenIntegrations