Revoke an invite
The invitation link stops working. Needs the admin role.
Related: List members and Change a member’s role in Team.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
inviteIdstringrequiredPattern: ^[a-f0-9]{24}$
Headers
AuthorizationstringrequiredBearer followed by an account token or an OAuth access token with the team:write scope.
Response
Revoked.
{
"status": "string",
"data": {
"revoked": "string"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.revoked | true |