Admin organizations
Revoke an invitation
DELETE
Auth: Admin key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
invitationId*stringAn opaque, type-prefixed id.
The revoked invitation. Its link stops working immediately. Only a pending invitation can be revoked. An accepted one is a membership — remove that instead.
application/json- response
id?stringOpaque id, prefixed inv_.
email?stringThe invited address, normalized.
role?stringThe role this invitation grants in the organization.
Value in
"owner""member"status?stringexpired is a pending invitation past expires_at; the stored status is only ever the other three.
Value in
"pending""accepted""revoked""expired"invited_by?|The account that sent it, or null once that account is gone.
expires_at?stringISO 8601 timestamp the token stops working.
accepted_at?|ISO 8601 timestamp it was redeemed, or null.
created_at?stringISO 8601 timestamp.
curl -X DELETE 'https://pouch.example.com/v1/admin/organizations/string/invitations/string'Example Response
{ "id": "string", "email": "string", "role": "owner", "status": "pending", "invited_by": "string", "expires_at": "string", "accepted_at": "string", "created_at": "string"}