Cannot remove "Access policy" on Pages

I enabled the default “Access policy” for our Pages sites.
(https://dash.cloudflare.com/.../pages/view/.../settings)

But when I click to “Manage Policies” I am taken to the “Get started with Teams” page, and no matter what we do, we cannot seem to set up billing. We get errors with credit cards, paypal, etc.

Since we cannot select a plan (even the free one) we cannot get to
https://dash.teams.cloudflare.com/.../access/apps
and it seems that’s where we need to be to remove those policies.

Ultimately I want the Previews to be publicly accessible again. It was a one-click addition, that I can’t seem to find a way to un-do now. :frowning:

Is there any other way (even via the API) to get past this?

So, here are the API calls to undo this, but it would be great if we could get through this UI block!

Get a list of the apps (because you need the app id):

curl -X GET "https://api.cloudflare.com/client/v4/accounts/<ACCOUNT-ID>/access/apps" \
                                          -H "X-Auth-Email: <EMAIL>" \
                                          -H "X-Auth-Key:<API-KEY>" \
                                          -H "Content-Type: application/json"

Then delete the app policy:

curl -X DELETE "https://api.cloudflare.com/client/v4/accounts/<ACCOUNT-ID>/access/apps/<APP-ID>" \
                                          -H "X-Auth-Email: <EMAIL>" \
                                          -H "X-Auth-Key:<API-KEY>" \
                                          -H "Content-Type: application/json"
1 Like

Thanks for flagging this. Would you mind trying to go back through the “Get started with Teams” flow again? We just pushed a release that should handle the scenario you were getting hit with.

Just tried it, still getting “An error occured while saving your payment method, try again.” on the https://dash.teams.cloudflare.com/.../account/plan page using a Visa card.

“occured” is also misspelled fyi.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.