{ "opencollection": "1.0.0", "info": { "name": "NetBird REST Accounts Policies API", "version": "0.0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Policies", "type": "folder" }, "items": [ { "info": { "name": "List all Policies", "type": "http" }, "http": { "method": "GET", "url": "https://api.netbird.io/api/policies", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of all policies" }, { "info": { "name": "Create a Policy", "type": "http" }, "http": { "method": "POST", "url": "https://api.netbird.io/api/policies", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a policy" }, { "info": { "name": "Retrieve a Policy", "type": "http" }, "http": { "method": "GET", "url": "https://api.netbird.io/api/policies/:policyId", "params": [ { "name": "policyId", "value": "", "type": "path", "description": "The unique identifier of a policy" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get information about a Policies" }, { "info": { "name": "Update a Policy", "type": "http" }, "http": { "method": "PUT", "url": "https://api.netbird.io/api/policies/:policyId", "params": [ { "name": "policyId", "value": "", "type": "path", "description": "The unique identifier of a policy" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update/Replace a Policy" }, { "info": { "name": "Delete a Policy", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.netbird.io/api/policies/:policyId", "params": [ { "name": "policyId", "value": "", "type": "path", "description": "The unique identifier of a policy" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a policy" } ] } ], "bundled": true }