{ "opencollection": "1.0.0", "info": { "name": "Cerbos PDP REST Admin Audit Admin Policies API", "version": "0.x" }, "items": [ { "info": { "name": "Admin Policies", "type": "folder" }, "items": [ { "info": { "name": "Get policy by id", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3592/admin/policy", "params": [ { "name": "id", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get policy by id" }, { "info": { "name": "Add or update policies", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3592/admin/policy", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Add or update policies" }, { "info": { "name": "Add or update policies (PUT)", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:3592/admin/policy", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Add or update policies (PUT)" }, { "info": { "name": "List policies", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3592/admin/policies", "params": [ { "name": "include_disabled", "value": "", "type": "query" }, { "name": "name_regexp", "value": "", "type": "query" }, { "name": "scope_regexp", "value": "", "type": "query" }, { "name": "version_regexp", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "List policies" }, { "info": { "name": "Inspect policies", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3592/admin/policies/inspect", "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Inspect policies" }, { "info": { "name": "Delete a policy", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3592/admin/policy/delete", "params": [ { "name": "id", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a policy" }, { "info": { "name": "Disable a policy", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3592/admin/policy/disable", "params": [ { "name": "id", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Disable a policy" }, { "info": { "name": "Enable a policy", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3592/admin/policy/enable", "params": [ { "name": "id", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Enable a policy" } ] } ], "bundled": true }