Skip to content

Function: removeGroupFromContentRestriction()

ts
function removeGroupFromContentRestriction(client, parameters): Promise<void>;

Defined in: src/v1/api/contentRestrictions.ts:205

Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.

Permissions required: Permission to edit the content.

Parameters

ParameterTypeDescription
clientClient-
parameters{ groupId: string; id: string; operationKey: "update" | "read"; }-
parameters.groupIdstringThe id of the group to remove from the content restriction.
parameters.idstringThe ID of the content that the restriction applies to.
parameters.operationKey"update" | "read"The operation that the restriction applies to.

Returns

Promise&lt;void>