# Pages & publicAccessRules

**URL:** <https://community.hubspot.com/t/pages-publicaccessrules/83169>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [June 12, 2023, 2:56pm UTC](https://community.hubspot.com/t/pages-publicaccessrules/83169 "2023-06-12T14:56:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBunting6](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbunting6/32/198735_2.png) [@JBunting6](https://community.hubspot.com/u/JBunting6)\
**Post date:** [June 12, 2023, 2:56pm UTC](https://community.hubspot.com/t/pages-publicaccessrules/83169/1 "2023-06-12T14:56:22Z")

</div>

I’m trying to retrieve and update the audience access on a site page via the API. In the UI, I have set access to “Private - Single sign on (SSO) required with list filtering”. I see that this changes `publicAccessRulesEnabled` to `true` and changes `publicAccessRules` from `[]` to `[{ }]`. Is there any way to get the actual filtered lists returned in the API? (and even more importantly, can I SET the filtered lists in the API?)

Thanks!

---

<div class="post-metadata">

**Author:** ![JBunting6](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbunting6/32/198735_2.png) [@JBunting6](https://community.hubspot.com/u/JBunting6)\
**Post date:** [June 12, 2023, 4:20pm UTC](https://community.hubspot.com/t/pages-publicaccessrules/83169/2 "2023-06-12T16:20:06Z")

</div>

It looks like if I form up a request like below, I can create a page with the appropriate list. However, I can’t get any info back in the GET request (to verify that it matches what I think it should). Any thoughts on that? :

```lia-code-sample
{
 ...
 "publicAccessRulesEnabled": true,
 "publicAccessRules": [
 {
 "type": "LIST_MEMBERSHIP",
 "ids": [334, 335]
 }
 ]
}

```
