addGroupToContentRestriction method

  1. @deprecated
Future<void> addGroupToContentRestriction({
  1. required String id,
  2. required String operationKey,
  3. required String groupName,
})

Deprecated, use Add group to content restriction via groupId. Adds a group to a content restriction. That is, grant read or update permission to the group for a piece of content.

Permissions required: Permission to edit the content.

Implementation

@deprecated
Future<void> addGroupToContentRestriction(
    {required String id,
    required String operationKey,
    required String groupName}) async {
  await _client.send(
    'put',
    'wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}',
    pathParameters: {
      'id': id,
      'operationKey': operationKey,
      'groupName': groupName,
    },
  );
}