DevelopersAPI referenceAuth & accountsMembers
Change a member's role
Team orgs only; org.members.manage. Owner moves in either direction are owner-only; demoting the last owner 409s.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
uid*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/orgs/string/members/string" \ -H "Content-Type: application/json" \ -d '{ "role": "owner" }'{ "message": "string"}