pages
pages.saveAccess
Saves modified read and edit access settings for a wiki page.
To call this method, you can use:
• user access token (access right required: pages — this is issued in exceptional cases by a request to support at devsupport@corp.vk.com)
Parameters
page_id
string
Wiki page ID.
Required parameter
group_id
string
ID of the community that owns the wiki page.
user_id
string
view
integer
Who can view the wiki page: 1 — only community members 2 — all users can view the page 0 — only community managers
edit
integer
Who can edit the wiki page: 1 — only community members 2 — all users can edit the page 0 — only community managers
Result
Returns the ID of the edited wiki page (id).
Error codes
140
Page not found
141
Access to page denied
Common errors may occur during execution