Update Member
Move a member to another role.
PUT
Path
Path parameters
stringrequired
The member's userId, from List Members.
Headers
Optional headers
string
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Body
Arguments
stringrequired
The role to give them, from List Roles.
Response fields
userIdstringUnique id of the member.
namestringThe member's name.
emailstringThe member's email address.
isPendingbooleanTrue while their invite is waiting to be accepted.
roleIdstringThe role they hold.
roleNamestringThat role's name.
createdOndateWhen they joined the company.