i dont find an api to Get list of attached policies of a proxy in apigee hybrid

 
0 2 231
2 REPLIES 2

There's no API for getting list of attached policies in Apigee.

With that said, what are you trying to do with this? Are you trying to understand policies that are unattached, which policy types are used, or something else?

You can do something like this:

curl -X GET   -H "Authorization: Bearer $TOKEN"  \
   $mgmtserver/v1/organizations/$ORG/apis/$API/revisions/2

...and in that response there will be a list of policy NAMES.

In Apigee Edge you can query the policy contents. In Apigee X or hybrid, you cannot.