deletePage method
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',
},
);
}