Organizations
Invite to organization
Invites a person by email. Only the person who signs in with that verified email can accept it before expire_at, at /v1/organizations/{id}/invitations/{invitation_id}:accept. One pending invitation per email (409).
Bearer token for the authenticated caller.
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
Required string length: 1 - 64
Example: "create-prod-2026-05-07"
Body
Response
Invitation created
Maximum string length: 254
Pattern: ^[^\s@]+@[^\s@]+\.[^\s@]+$
Example: "ada@example.com"
Only an owner may invite an owner. roles/viewer is granted through :setIamPolicy.
Available options: roles/member, roles/admin, roles/owner
Available options: pending, accepted, declined, revoked, expired
When a pending invitation becomes expired.
Required range: 0 <= x <= 9007199254740991