Update an organization member
Update a member's role within an organization. Requires manage permission (owner or admin). The organization owner's role cannot be changed.
Path parameters
Organization the member belongs to. Pattern: org_[0-9a-hjkmnp-tv-z]{26}
Organization the member belongs to. Pattern: org_[0-9a-hjkmnp-tv-z]{26}
User account ID of the member to update. Pattern: user_[0-9a-hjkmnp-tv-z]{26}
User account ID of the member to update. Pattern: user_[0-9a-hjkmnp-tv-z]{26}
Request body
Response
Success
Example response
{
"member": {
"user": {
"id": "user_01h2xcejqtf2nbrexx3vqjhp41"
}
}
}Changes
Changed in 2 of the 50 revisions of this API.27
- ○
api tag
Membersaddedapi-tag-added
- ○
api tag
Organizationsremovedapi-tag-removed
- ○
added the optional property
member/user/family_nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
member/user/given_nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
member/user/profile_image_urlto the response with the200statusresponse-optional-property-added
- ○
- ▲
removed the required property
member/emailfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
member/user/typefrom the response with the200statusresponse-required-property-removed
- ○
the
member/user/idresponse's property pattern was changed from^(user|svc)_[0-9a-hjkmnp-tv-z]{26}$to^user_[0-9a-hjkmnp-tv-z]{26}$for the status200response-property-pattern-changed
- ○
added the required property
member/user/emailto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲