Bulk update page security settings via API

Is there a way to iterate through all the pages on a subdomain and change the security to require SSO using the API?

Hi, @Anya23 :waving_hand: Thanks for the interesting question. I’d like to invite some of our community champions to the conversation — hey @alyssamwilie @Anton @GiantFocal have you done this using the Pages API?

Thank you very much for taking a look! — Jaycee

Hey @Anya23,

as @Jaycee_Lewis mentioned, the Update a batch of Site Pages API and Update a batch of Landing Pages API Endpoint(s) will do this job.

Another option could be to create a flex-redirect rule.

But you should be careful with this option since it might have a negative impact on tech. SEO since it might cause so-called redirect-loops.

best,

Anton

@Anya23