removeGroupFromContentRestriction method

Future<void> removeGroupFromContentRestriction({
  1. required String id,
  2. required String operationKey,
  3. required String groupId,
})

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.

Implementation

Future<void> removeGroupFromContentRestriction(
    {required String id,
    required String operationKey,
    required String groupId}) async {
  await _client.send(
    'delete',
    'wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}',
    pathParameters: {
      'id': id,
      'operationKey': operationKey,
      'groupId': groupId,
    },
  );
}