Modifies the MembershipRole
s of a Membership
.
HTTP request
POST https://cloudidentity.googleapis.com/v1/{name=groups/*/memberships/*}:modifyMembershipRoles
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the Must be of the form |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"addRoles": [
{
object ( |
Fields | |
---|---|
addRoles[] |
The Adding or removing roles in the same request as updating roles is not supported. Must not be set if |
removeRoles[] |
The Adding or removing roles in the same request as updating roles is not supported. It is not possible to remove the Must not contain |
Response body
If successful, the response body contains data with the following structure:
The response message for MembershipsService.ModifyMembershipRoles
.
JSON representation | |
---|---|
{
"membership": {
object ( |
Fields | |
---|---|
membership |
The |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-identity.groups
https://www.googleapis.com/auth/cloud-identity
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.