Grant Wiki page access
wiki_access_createGrant a user or group a role on a wiki page, returning the new access entry. Use for page-level permissions.
Instructions
Grant a user or a group a role on a wiki page; returns the new access entry.
A user who already holds a personal access is refused: change it with access_update.
Read the current accesses with pages_get_by_id and
fields="access_policy,access_lists".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The grant: exactly one of ``user`` (uid / cloud_uid) and ``group`` (src + id), the ``role``, and optionally ``inheritance``. | |
| page_id | Yes | Numeric id of the page. |