deleteRestrictions method
Removes all restrictions (read and update) on a piece of content.
Permissions required: Permission to edit the content.
Implementation
Future<ContentRestrictionArray> deleteRestrictions(
{required String id, List<String>? expand}) async {
return ContentRestrictionArray.fromJson(await _client.send(
'delete',
'wiki/rest/api/content/{id}/restriction',
pathParameters: {
'id': id,
},
queryParameters: {
if (expand != null) 'expand': expand.map((e) => e).join(','),
},
));
}