Update membership configuration

Updates the design-time (editor) membership configuration for the site: access mode, site-level protection and per-resource protection rules (the rules are applied as a patch). Changes affect the editor draft only; the published live site is not updated until publish. Protected resources must reference pages that exist in the site.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The site's unique name (its ID), returned when the site is created.

Body Params

Update of the design-time (editor) membership configuration. Applied to the draft editor configuration; the published live site is not affected until publish.

members_access
object
required

Member registration access mode

string
enum
required

ALL_PAGES: entire site is members-only. SELECTED_PAGES: only resources listed in resources_protection_rules are protected.

Allowed:
resources_protection_rules
array of objects

Per-resource protection rules to apply. This is a PATCH, not the full target state: send a rule with protection_type=NONE to remove protection from a resource, or any other protection_type to add/update it. Resources not listed here keep their current rule. Every protected resource (protection_type other than NONE) must reference a page that exists in the site.

resources_protection_rules
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json