Revoke an Invite
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
uuid string (uuid) Req
The
uuid of the invitation to revoke, as returned by POST /v1/account/invites or GET /v1/account/invites.Deprecated: the legacy integer id is still accepted in the path until the sunset, answered with Deprecation and Sunset headers. Use the uuid.
Response (200 OK)
success bool
true when the invitation has been revoked.Errors
400 Bad Request
An integer id after the sunset (
integer_id_unsupported).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/019a89b0-bb2b-76eb-8f22-cf9745345430" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client._delete_void("/account/invites/019a89b0-bb2b-76eb-8f22-cf9745345430")
Response — 200 OK
{
"success": true
}
Was this helpful?