updatePage method
Update a page by id.
Permissions required: Permission to view the page and its corresponding space. Permission to update pages in the space.
Implementation
Future<PageSingle> updatePage(
{required int id, required PageUpdateRequest body}) async {
return PageSingle.fromJson(await _client.send(
'put',
'pages/{id}',
pathParameters: {
'id': '$id',
},
body: body.toJson(),
));
}