Invites a user to multiple websites in your organization in a single request. Each website is processed independently, so some may succeed while others fail (e.g., if the user is already a member). Only supports website-level invites.
Request body for inviting a user to multiple websites
How to invite the user. Use 'direct' to add an existing user immediately, or 'email' to send invitation emails
direct, email "direct"
Email address of the user to invite
"user@example.com"
Array of website IDs to invite the user to (1-50)
1 - 50 elements[
"123e4567-e89b-12d3-a456-426614174000",
"987e6543-e21b-12d3-a456-426614174000"
]The role to assign to the invited user on each website
admin, viewer "viewer"
Optional first name of the invited user
"John"
Optional last name of the invited user
"Doe"
Bulk invite processed. Check individual results for per-website outcomes.