邀請
Models
AlreadyMemberErrorDetails object{ error_code }
AlreadyMemberErrorDetails object{ error_code }
error_code: "already_member"
CannotInviteEmailsWithUnverifiedDomainsErrorDetails object{ error_code }
CannotInviteEmailsWithUnverifiedDomainsErrorDetails object{ error_code }
error_code: "cannot_invite_emails_with_unverified_domains"
EmailDomainNotAllowedErrorDetails object{ error_code }
EmailDomainNotAllowedErrorDetails object{ error_code }
error_code: "email_domain_not_allowed"
InviteAlreadyExistsErrorDetails object{ error_code }
InviteAlreadyExistsErrorDetails object{ error_code }
error_code: "invite_already_exists"
OrganizationInvite object{ type: "invite", id, accepted_at, 6 more }
OrganizationInvite object{ type: "invite", id, accepted_at, 6 more }
InviteDeleteResponse object{ type: "invite_deleted", id }
InviteDeleteResponse object{ type: "invite_deleted", id }
type: "invite_deleted"Deleted object type.
type: "invite_deleted"
Deleted object type.
For Invites, this is always "invite_deleted".
defaultinvite_deleted
id: string
ID of the Invite.
Errors
"already_member"HTTP status 400The email address already belongs to a user in the organization. The message names the user.
"already_member"HTTP status 400
The email address already belongs to a user in the organization. The message names the user.
details: AlreadyMemberErrorDetails { error_code }
details: AlreadyMemberErrorDetails { error_code }
error_code: "already_member"
"cannot_invite_emails_with_unverified_domains"HTTP status 400The email address's domain is not one of the verified domains of the organization's parent organization.
"cannot_invite_emails_with_unverified_domains"HTTP status 400
The email address's domain is not one of the verified domains of the organization's parent organization.
details: CannotInviteEmailsWithUnverifiedDomainsErrorDetails { error_code }
details: CannotInviteEmailsWithUnverifiedDomainsErrorDetails { error_code }
error_code: "cannot_invite_emails_with_unverified_domains"
"email_domain_not_allowed"HTTP status 400The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
"email_domain_not_allowed"HTTP status 400
The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
details: EmailDomainNotAllowedErrorDetails { error_code }
details: EmailDomainNotAllowedErrorDetails { error_code }
error_code: "email_domain_not_allowed"
"invite_already_exists"HTTP status 400A pending invite already exists for the email address. The message names the invite.
"invite_already_exists"HTTP status 400
A pending invite already exists for the email address. The message names the invite.
details: InviteAlreadyExistsErrorDetails { error_code }
details: InviteAlreadyExistsErrorDetails { error_code }
error_code: "invite_already_exists"