Update group membership
PUT https://{{api.box.com}}/2.0/group_memberships/:group_membership_id
Updates a user's group membership. Only admins of this
https://developer.box.com/reference/put-group-memberships-id
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string | A comma-separated list of attributes to include in the | |
response. This can be used to request fields that are | |||
not normally returned in a standard response. |
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested. |
Request Body
{"role"=>"member", "configurable_permissions"=>{"can_run_reports"=>true}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":"11446498","type":"group_membership","user":{"id":"11446498","type":"user","name":"Aaron Levie","login":"ceo@example.com"},"group":{"id":"11446498","type":"group","name":"Support","group_type":"managed_group"},"role":"member","created_at":"2012-12-12T10:53:43-08:00","modified_at":"2012-12-12T10:53:43-08:00"}