This command sends the following:
send: b'{"labels": {"cloudidentity.googleapis.com/groups.discussion_forum": "", "cloudidentity.googleapis.com/groups.security": ""}}'
Which gives:
reply: 'HTTP/1.1 400 Bad Request\r\n'
staff@domain.com is a dynamic group. I think that GAM is sending only discussion_forum and security, which is causing the API to spit back a 400 since the request didn't include dynamic in the mapping. It thinks you're trying to remove the dynamic label so doesn't let you add security label.
(context: dynamic cigroups already successfully created by GAM)
Hey all,
Command: gam update cigroup staff@domain.com makesecuritygroup
This command sends the following: send: b'{"labels": {"cloudidentity.googleapis.com/groups.discussion_forum": "", "cloudidentity.googleapis.com/groups.security": ""}}'
Which gives: reply: 'HTTP/1.1 400 Bad Request\r\n'
staff@domain.com is a dynamic group. I think that GAM is sending only discussion_forum and security, which is causing the API to spit back a 400 since the request didn't include dynamic in the mapping. It thinks you're trying to remove the dynamic label so doesn't let you add security label.
(context: dynamic cigroups already successfully created by GAM)