createOrgInvite
Invite an email to the org as a member or an owner, in the groups you name, and email it the invite's link. A member who accepts with none of the invite's groups left, or with none named, joins the org's default group, if the org has one; an owner does not. Inviting an email with a pending invite resends it with this role and these groups. Takes inviteMembers on the org; an owner invite takes owning the org, and groups take manageGroups.
POST
/orgs/{org_id}/invitesPath parameters
Request body JSON required
Returns
201
OrgInvite
JSON
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
OrgNotFound | GroupNotFound
JSON
One of the following:
- OrgNotFoundEncoded
- GroupNotFoundEncoded
413
RequestBodyTooLarge
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded