MonetaryAI / Docs
API ReferenceMemberships

Revoke a pending membership invitation

Revokes one invitation in the caller's tenant without revealing invitations in another tenant. Company permission: `revokeMembershipInvitation`. Defaults: ADMIN. Current company role permissions and active membership are checked on every request; signed legacy role claims alone do not authorize this operation.

POST
/api/v1/membership-invitations/{invitationId}/revocation

Authorization

bearerAuth
headerAuthorizationBearer <token>

Obtained from POST /api/v1/auth/login, on the tenant's own subdomain. Presenting it on another tenant's subdomain is a 403.

Path Parameters

invitationId*string
Formatuuid

Response Body

Invitation revoked

curl -X POST 'https://api.monetaryai.uz/api/v1/membership-invitations/497f6eca-6276-4993-bfeb-53cbbbba6f08/revocation'
Empty