Grant access to a page

https://areamembri.it/pages/grant_access_to_page.json

Grants access to a protected page to a desired user.

Parameters:

api_user The provided API User credential for your account.
api_key The provided API Key credential for your account.
business_id

(optional)

The project ID you want to query in. If not specified, the account will be used.
page_nicename The page you want to grant access to.
user_email The user’s email you want to grant the access to the page.

Return:

An object, containing:

  • response: “granted” if the access was established successfully.
  • page: the page object.
  • user: the user object.