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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { groupId: string; id: string; operationKey: "update" | "read"; } | - |
parameters.groupId | string | The id of the group to remove from the content restriction. |
parameters.id | string | The ID of the content that the restriction applies to. |
parameters.operationKey | "update" | "read" | The operation that the restriction applies to. |
Returns
Promise<void>