bulkRemoveContentStates method

Future<AsyncId> bulkRemoveContentStates({
  1. required String status,
  2. required dynamic body,
})

Creates a long running task that Removes content state from draft or published versions of pages specified.

Permissions required Content Edit Permission for a content to have its state removed via this endpoint.

Implementation

Future<AsyncId> bulkRemoveContentStates(
    {required String status, required dynamic body}) async {
  return AsyncId.fromJson(await _client.send(
    'post',
    'wiki/rest/api/content-states/delete',
    queryParameters: {
      'status': status,
    },
    body: body,
  ));
}