Invites

Change a pending invite's role

Changes the role the invitee will hold. Only a pending invite can be changed; use the organization's member management to change the role of someone who has already accepted.

patch/v1/org/{org_id}/invites/{email}

Request body

role'user' | 'admin' | 'support' | 'cloud_rep' | 'restricted_user' required

New role for the pending invite

Response

OK

org_idstring required

Organization the invite belongs to

emailstring required

Address the invite was sent to, and its identifier in this API

role'user' | 'admin' | 'support' | 'cloud_rep' | 'restricted_user' required

Role the invitee holds in the organization

status'invited' | 'accepted' | 'rejected' | 'revoked' required

'invited' is pending; 'accepted', 'rejected' and 'revoked' are final

invited_bystring nullable required

Email of the user who sent the invite

created_atstring date-time required

When the invite was first created

Changes

Changed in 1 of the 6 revisions of this API.1