Organizations and members
DEL/v1/invites/{invite_id}

Revoke invite

View as .md
curl -X DELETE "https://api.52-28-238-205.sslip.io/v1/invites/{invite_id}" \  -H "Cookie: <console session cookie>"

Deletes a pending invite so its link stops working. Console session or API key with members:manage; an accepted invite can't be revoked (409).

Server URLhttps://api.52-28-238-205.sslip.io
DEL/v1/invites/{invite_id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • invite_idstringrequired

    Invite id (inv_...).

Requires permissionmembers:manage
Held by owner, admin, operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

invite_id*Invite Id

Invite id (inv_...).

Response Body

Success.

application/json
  1. response
ok*Ok
id*Id
[key: string]?any