Hi, I was reading the documentation about the Gateway REST API, and it says that is possible to manage and list policies, but the documentation doesn’t list which are the endpoints for the policies management.
I tried to take a peek into the Tyk Gateway source code in order to find the controllers but couldn’t find as well.
As far as I know, the policies can’t be managed by calling the Gateway.
You either need to provide a json file when the Gateway start (if “policy_source”: “file” in tyk.conf)
Or define the policies with the dashboard (if “policy_source: service”)