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

Update Member Role

PATCH
/v1/organisations/{org_id}/members/{user_id}/role

Change a member's role within the organisation.

Authorization: caller must be the owner. Personal organisations have no roles to change. Promoting a member to owner atomically demotes the previous owner to admin and repoints Organisation.owner_id, so exactly one member always holds the owner role. The current owner cannot be demoted directly - promote another member to owner first, which performs the demotion as part of the same transfer.

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/497f6eca-6276-4993-bfeb-53cbbbba6f08/role" \  -H "Content-Type: application/json" \  -d '{    "role": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",  "role": "string",  "joined_at": "2019-08-24T14:15:22Z",  "user": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "username": "string",    "display_name": "string",    "avatar_url": "string"  }}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}

Sync SCIM Users

Previous Page

Update Org Vault Entry

Next Page

role*Role
Match^(owner|admin|member)$