APIMembers
Update a member's role
Update a member's organization role.
Path Parameters
member*string
User ID, or URL-encoded email address, of the member to update.
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/members/string/role" \ -H "Content-Type: application/json" \ -d '{ "role": "admin" }'{ "member": { "membershipId": "string", "userId": "string", "name": "string", "email": "user@example.com", "imageUrl": "string", "role": "admin", "createdAt": "2019-08-24T14:15:22Z" }}