{ "opencollection": "1.0.0", "info": { "name": "Sonatype Nexus Repository Manager assets Cleanup policies API", "version": "3.91.0-07" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Cleanup policies", "type": "folder" }, "items": [ { "info": { "name": "Get a list of existing policies", "type": "http" }, "http": { "method": "GET", "url": "/service/rest/v1/cleanup-policies" }, "docs": "Get a list of existing policies" }, { "info": { "name": "Create a new policy", "type": "http" }, "http": { "method": "POST", "url": "/service/rest/v1/cleanup-policies", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new policy" }, { "info": { "name": "Get a policy by name", "type": "http" }, "http": { "method": "GET", "url": "/service/rest/v1/cleanup-policies/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "Get a policy by name" }, { "info": { "name": "Delete cleanup policy", "type": "http" }, "http": { "method": "DELETE", "url": "/service/rest/v1/cleanup-policies/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "Delete cleanup policy" }, { "info": { "name": "Update existing policy", "type": "http" }, "http": { "method": "PUT", "url": "/service/rest/v1/cleanup-policies/:policyName", "params": [ { "name": "policyName", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update existing policy" } ] } ], "bundled": true }