Workspace
Change a member’s role
Authorization
bearerAuth AuthorizationBearer <token>
A personal API key (psk_…) or an OAuth access token (plan_at_…). Scopes: read, write.
In: header
Path Parameters
userId*string
User id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/members/string" \ -H "Content-Type: application/json" \ -d '{ "role": "OWNER" }'{ "member": { "userId": "string", "role": "OWNER" }}