deletePage method

Future<void> deletePage(
  1. int id
)

Delete a page by id.

Permissions required: Permission to view the page and its corresponding space. Permission to delete pages in the space.

Implementation

Future<void> deletePage(int id) async {
  await _client.send(
    'delete',
    'pages/{id}',
    pathParameters: {
      'id': '$id',
    },
  );
}