Sign in

Update site user

documented

Update details of a user of a site.

POST /sites/{site}/users/{user_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://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/users/{{$user_id}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "ID={{$ID}}&login={{$login}}&email={{$email}}&name={{$name}}&first_name={{$first_name}}&last_name={{$last_name}}&nice_name={{$nice_name}}&URL={{$URL}}&avatar_URL={{$avatar_URL}}&profile_URL={{$profile_URL}}&site_ID={{$site_ID}}&roles={{$roles}}"