Skip to content

Function: removeGroupFromContentRestriction() ​

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

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

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" | string & object | "read"; }-
parameters.groupIdstringThe id of the group to remove from the content restriction.
parameters.id?stringThe ID of the content that the restriction applies to.
parameters.operationKey?"update" | string & object | "read"The operation that the restriction applies to.
options?RequestOptions-

Returns ​

Promise&lt;void>