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, bool? serializeIdsAsStrings}) async {
return PageSingle.fromJson(await _client.send(
'put',
'pages/{id}',
pathParameters: {
'id': '$id',
},
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
));
}