Revoke an Invite

DELETE /v1/account/invites/{id}

Revoke a pending invitation belonging to the active account. Once revoked, the accept and decline links sent to the recipient stop working and the invite no longer appears as actionable to the invitee.

The invitation must belong to the active account — there's no cross-account revocation. An invite from another account (or one that doesn't exist) returns 404 rather than disclosing its existence. Requires the members:delete permission.

Path parameters

id int64 Req
ID of the invitation to revoke, as returned by POST /v1/account/invites or GET /v1/account/invites.

Response (200 OK)

success bool
true when the invitation has been revoked.

Errors

400 Bad Request
Invalid invite id.
401 Unauthorized
Missing or invalid auth.
403 Forbidden
Your role lacks the members:delete permission on the active account.
404 Not Found
No such invitation, or it belongs to a different account.
Request
curl -X DELETE "https://api.ngris.com/v1/account/invites/42" \ -H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris client = Ngris(api_key="<your_api_key>") client.account.revoke_invite(42)
Response — 200 OK
{ "success": true }
On this page
Revoke an Invite
Iris