v1
latestOpenAPI 3.0.12026-07-24283883639.5 KBReplace Visibility Groups for a specific Content Item
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.<br><br>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.<h3>Required Scope</h3>content:write
Path parameters
The ID of the content for which the visibility groups will be replaced.
Request body
Example request
{
"data": [
{
"type": "groups"
}
]
}Response
Success