Organizations and members
DEL/v1/org/members/{mid}
Remove member
curl -X DELETE "https://api.52-28-238-205.sslip.io/v1/org/members/{mid}" \ -H "Cookie: <console session cookie>"Removes a member from the organization. Console session or API key with members:manage; only an owner can remove an owner and the last owner can't be removed (409).
Server URL
https://api.52-28-238-205.sslip.ioDEL/v1/org/members/{mid}Base URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
midstringrequiredMembership id (mem_...).
Requires permissionmembers:manage
Held by
owner, admin, operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
mid*MidMembership id (mem_...).
Success.
application/json- response
ok*Ok[key: string]?anyPATCHUpdate member
Changes a member's role, team or extra permission grants. Console session or API key with members:manage; only grantable roles are accepted, only an owner can make an owner, and the last owner can't be demoted (409).
GETList teams
Lists the organization's teams with member and agent counts, budget and team approver. Console session only.