Update organization member role
Organization members
Update organization member role
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
write_organization
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | write_organization |
PATCH
Update organization member role
Documentation Index
Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The name of the organization
The ID of the user
Body
application/json
The role to assign to the member (e.g., 'admin', 'member'). Note: Cannot update your own role. Roles managed by IdP cannot be updated via API.
Response
Returns the updated membership

