Invite site users
documentedInvite one or more users to your site.
POST /sites/{site}/invites/newUsersno 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://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/invites/new" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
--data-urlencode 'invitees={{$invitees}}' \
--data-urlencode 'role={{$role}}' \
--data-urlencode 'message={{$message}}' \
--data-urlencode 'source={{$source}}' \
--data-urlencode 'is_external={{$is_external}}'