This endpoint replaces all content's visibility groups. On a successful replacement, it returns a 201 Created response. If the patch is set with an empty list, the content will not be shared in any groups.
Note: When visibility groups are set for content, the groups must either be (a) all of privacy level Administrative or (b) all of a non- Administrative privacy level. Non- Administrative privacy levels include Open, Closed and Private. Content in Administrative groups is only visible to users in the Administrative groups. If the content has one or more Administrative visibility groups set, and you send the body with an empty list of groups, the content will be visible to any users in the organization. A group's privacy level can be retrieved from the Get a Specific Group endpoint.
Click Try It! to start a request and see the response here!