post
https://Use API Lookup for a base URL/realms//invites
Create and send an invitation to add a new member to the realm,optionally assign membership to one or more groups if the Inviter is also a GroupAdmin for the group and optionally invite with one or more roles assigned.
Access Control:
- In order to invite a new user to the "{realm}":
- The calling principal must have "manageInvites" action permission for the resource "{realm}" in the "authorization" service.
- In order to invite a new user to the "{realm}" as a member of the "{group}":
- The calling principal must have "manageInvites" action permission for the resource "{realm}" AND "manageMembers" action permission for the resource "{group}" in the "authorization" service.
- In order to invite a new user to the "{realm}" to have roles. For each "{role}":
- The calling principal must have "manageInvites" action permission for the resource "{realm}" AND "manageEntities" action permission for the resource "{role}" in the "authorization" service.
- This API is rate limited to a maximum of 6 invites per realm per minute.
- The calling principal MUST NOT include a project scope.
400Invalid email or name or role.
404Realm or group or role not found.
422Group size limit exceeded.
429Realm invitation is temporarily suspended due to repeated requests. Wait for a while before making a new request.