v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1339117150.4 KB
groups

Modifies the MembershipRoles of a Membership.

post/v1/{+name}:modifyMembershipRoles

Path parameters

namestring required

Required. The resource name of the Membership whose roles are to be modified. Must be of the form groups/{group}/memberships/{membership}.

Request body

removeRolesstring[]

The names of the MembershipRoles to be removed. Adding or removing roles in the same request as updating roles is not supported. It is not possible to remove the MEMBER MembershipRole. If you wish to delete a Membership, call MembershipsService.DeleteMembership instead. Must not contain MEMBER. Must not be set if update_roles_params is set.

Response

Successful response