Set who may read a page
put/content-access/{entryId}
Set who may read a page: free, members, paid (named tiers), metered (free reads per month) or preview (the first blocks).
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:admin- Sdk
content.access.set- Cli
content access set
Parameters
- entryIdstring (uuid)requiredIn the path
Request bodyapplication/json, required
- modestringrequiredOne of: free, members, paid, metered, preview.
- tierIdslist of string (uuid)Default: [].
- teaserBlocksintegerDefault: 2. At least 0. At most 50.
- meterFreeintegerDefault: 3. At least 0. At most 100.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring