POST /v1/groups/{groupsId}/memberships/{membershipsId}:modifyMembershipRoles
Changed onModifies the MembershipRoles of a Membership.
Request
- Base URLhttps://cloudidentity.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-identity.groupsAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-identity.groups
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Request body
The request message for MembershipsService.ModifyMembershipRoles.
The MembershipRoles to be added. Adding or removing roles in the same request as updating roles is not supported. Must not be set if update_roles_params is set.
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.
The MembershipRoles to be updated. Updating roles in the same request as adding or removing roles is not supported. Must not be set if either add_roles or remove_roles is set.
Response
Successful response
The response message for MembershipsService.ModifyMembershipRoles.
A membership within the Cloud Identity Groups API. A Membership defines a relationship between a Group and an entity belonging to that Group, referred to as a "member".
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud-identity.groupswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-identity.groupswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info