MCPBundler Docs
MCPBundler Docs
Back to marketplaceGetting StartedAuthenticationTutorial - Bundle to Connected Agent
API Reference
Agent A2A Tools
Agent Channels
Agent Configuration (Staging)
Agent Configuration (Versions)
Agent Tools
agents
Agents
Attachments
Auth
Billing
bundler
Bundler
Bundler Tool
Bundles
Call Campaigns
Catalog
Conversations
Credentials
Deployments
Discover
Fleet
Genesys
Insights
internal
Knowledge Base Website Sources
Knowledge Bases
MCP Listings
Media
OAuth Clients
OAuth2
Observability
Organisation roles
Organisations
Bind An Org Key To A ProviderCancel Subscription ImmediatelyCancel Subscription At Period EndChange Subscription PlanClaim Organisation DomainAdd Org Provider ModelRegister Org ProviderCreate OrganisationClear Org Credential AssignmentDelete Org Provider ModelDelete Org ProviderDelete OrganisationDelete Schema Notification WebhookDelete SSO ConfigDisable SCIMGenerate SCIM TokenGet Notification Badge CountsGet OrganisationGet Recording PolicyGet SCIM StatusGet SSO ConfigInvite Organisation MemberList Organisation DomainsList Organisation MembersList My OrganisationsList Organisation BundlesList Organisation ListingsList Organisation MCPsList Org Provider ModelsList Org ProvidersList Organisation InvoicesList SCIM Role MappingsSet Org Credential AssignmentRefresh Org Provider Models From EndpointRemove Organisation DomainRemove Organisation MemberReplace SCIM Role MappingsSave SSO ConfigSet Schema Notification WebhookStart Subscription CheckoutSync SCIM UsersTest An Org Provider EndpointRemove An Org Key From A ProviderUpdate Member RoleUpdate Org Provider ModelUpdate Org ProviderUpdate Organisation VariablesUpdate OrganisationUpdate Organisation PolicyUpdate Recording PolicyVerify Organisation Domain
Providers
Reviews
Roadmap
SCIM
Simulation Tests
Suppression
Triggers
TTS
Users
Utils
Visitors
Voices
Webhooks
Workflows
API ReferenceOrganisations

Update Member Role

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

Change a member's role within the organisation.

Authorization: members:manage, and the caller must hold every permission of both the member's current role and the new one (403 permission_escalation). Callers cannot change their own role (403 cannot_change_own_role). Personal organisations have no roles to change.

Assigning the owner role transfers ownership: the previous owner is demoted to admin and Organisation.owner_id is repointed atomically, so exactly one member always holds the owner role. The transfer requires org:transfer explicitly (403 missing_permission), which has no platform bypass: the escalation exemption of platform admins covers assigning other roles, never ownership. The current owner cannot be demoted directly - promote another member to owner instead.

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.

Change a member's role. role is the deprecated system-key form of role_id; exactly one of the two is required.

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 '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",  "role": "string",  "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",  "role_ref": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "key": "string",    "name": "string",    "is_system": true  },  "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"    }  ]}

Remove An Org Key From A Provider

Previous Page

Update Org Provider Model

Next Page

role?|null
Deprecated
role_id?|null