Revoke a pending invitation
Its code stops working. Revoking one that is already revoked or expired changes nothing and answers it as it is; one that was accepted is answered as not found; remove the member instead. Invitations, like memberships, live on the live organization and govern its test twin: call this with the live organization id.
DELETE
https://api.invox.page/v1/invitations/{id}Authorization
Path parameters
Header parameters
Returns
200
The invitation, revoked.
JSON
400
organization_required: This credential needs to say which organization it acts on · validation_failed: The request is not valid · live_organization_required: Members are managed on the live organization
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
missing_scope: The credential lacks the permission this operation requires · organization_mismatch: The X-Organization header names another organization than the key's · organization_archived: The organization is archived
JSON
404
not_found: The resource does not exist in this organization · invitation_not_found: The invitation does not exist, was revoked or was already used
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON