Invites

Revoke a pending invite

Revokes a pending invite and removes the access it granted. The invite link stops working. Only a pending invite can be revoked. Unlike most deletes in this API this returns 200 and the invite, because the invite is not deleted: it stays on the list with status 'revoked', and the response is how the caller sees that.

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

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 7 revisions of this API.1