How do I use the Access product with an API?


#1

Hi,
I would like to automate the creation of Access policies and rules. I don’t see any documentation to be able to do this.
Could someone direct me in the correct direction to be able to do this?

Thanks!


#2

Based on api.cloudflare.com it doesn’t look like APIs are available for Access. I suspect they’re working on implementing them.


#3

The API is in a bit of flux at the moment. The Access team has done some refactoring and the calls we’re using to manage the policies (which would be the same ones you’d use) don’t make any logical sense in terms of how they are named at the moment. So we’re working on refactoring them to make the naming and usage match how v2 of the product really works (oh the joys of working in a sausage factory).

We will be releasing public API docs soon and the updated API calls to go with it.