{ "opencollection": "1.0.0", "info": { "name": "Bitwarden Public Collections Policies API", "version": "latest" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://identity.bitwarden.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Policies", "type": "folder" }, "items": [ { "info": { "name": "Retrieve a policy.", "type": "http" }, "http": { "method": "GET", "url": "https://api.bitwarden.com/public/policies/:type", "params": [ { "name": "type", "value": "", "type": "path", "description": "The type of policy to be retrieved." } ] }, "docs": "Retrieves the details of a policy." }, { "info": { "name": "List all policies.", "type": "http" }, "http": { "method": "GET", "url": "https://api.bitwarden.com/public/policies" }, "docs": "Returns a list of your organization's policies." }, { "info": { "name": "Update a policy.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.bitwarden.com/public/policies/:id", "params": [ { "name": "type", "value": "", "type": "query", "description": "The type of policy to be updated." }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified policy. If a property is not provided,\r\nthe value of the existing property will be reset." } ] } ], "bundled": true }