MCPBundler Docs
MCPBundler Docs
Back to marketplaceGetting StartedAuthenticationTutorial - Bundle to Connected Agent
API Reference
Auth
Bundler
Bundles
Catalog
Deployments
Discover
LLM
MCP Listing Claims
MCP Listings
OAuth2
Observability
Organisations
Claim Organisation DomainCreate Org Vault EntryCreate OrganisationDelete Org LLM BindingDelete Org Vault EntryDelete OrganisationDelete SSO ConfigDisable SCIMGenerate SCIM TokenGet OrganisationGet SCIM StatusGet SSO ConfigInvite Organisation MemberList Organisation DomainsList Organisation MembersList My OrganisationsList Organisation BundlesList Organisation ListingsList Org LLM BindingsList Org Vault EntriesList SCIM Role MappingsRemove Organisation DomainRemove Organisation MemberReplace SCIM Role MappingsSave SSO ConfigSync SCIM UsersUpdate Member RoleUpdate Org Vault EntryUpdate OrganisationUpdate Organisation PolicyUpsert Org LLM BindingVerify Organisation Domain
Reviews
Roadmap
SCIM
Users
Utils
Vault
Webhooks
API ReferenceOrganisations

Remove Organisation Member

DELETE
/v1/organisations/{org_id}/members/{user_id}

Remove a member from the organisation.

Authorization: caller must be an admin or owner, and may not remove a member whose role is equal to or higher than their own - except that a member may always remove themselves (self-removal / "leave org"), which bypasses the role-order check. This self-removal bypass does not apply to the organisation owner: the owner cannot remove themselves, since doing so would leave the organisation without an OWNER-role member while Organisation.owner_id still points at them - promote another member to owner first, which performs the handover atomically. Personal organisations have no members to remove.

Authorization

OAuth2AuthorizationCodeBearer
AuthorizationBearer <token>

In: header

Path Parameters

org_id*Org Id
Formatuuid
user_id*User Id
Formatuuid

Query Parameters

verify_locally?Verify Locally
Defaulttrue

Response Body

application/json

curl -X DELETE "https://example.com/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}

Remove Organisation Domain

Previous Page

Replace SCIM Role Mappings

Next Page