{ "opencollection": "1.0.0", "info": { "name": "Secret Server Rest Activations SecretPolicy API", "version": "11.7.2" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "SecretPolicy", "type": "folder" }, "items": [ { "info": { "name": "Search Secret Policies", "type": "http" }, "http": { "method": "GET", "url": "/SecretServer/api/v1/secret-policy/search", "params": [ { "name": "filter.includeInactive", "value": "", "type": "query", "description": "Whether or not to include inactive secret policies" }, { "name": "filter.secretPolicyName", "value": "", "type": "query", "description": "Results will contain this text in the policy name" }, { "name": "skip", "value": "", "type": "query", "description": "Number of records to skip before taking results" }, { "name": "sortBy[0].direction", "value": "", "type": "query", "description": "Sort direction" }, { "name": "sortBy[0].name", "value": "", "type": "query", "description": "Sort field name" }, { "name": "sortBy[0].priority", "value": "", "type": "query", "description": "Priority index. Sorts with lower values are executed earlier" }, { "name": "take", "value": "", "type": "query", "description": "Maximum number of records to include in results" } ] }, "docs": "Search Secret Policies" }, { "info": { "name": "Get Secret Policy Stub", "type": "http" }, "http": { "method": "GET", "url": "/SecretServer/api/v2/secret-policy/stub" }, "docs": "Get Secret Policy" }, { "info": { "name": "Get Secret Policy", "type": "http" }, "http": { "method": "GET", "url": "/SecretServer/api/v2/secret-policy/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Get Secret Policy for passed in Id" }, { "info": { "name": "Update a Secret Policy", "type": "http" }, "http": { "method": "PATCH", "url": "/SecretServer/api/v2/secret-policy/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Secret Policy and return detail model" }, { "info": { "name": "Get Secret Policy Audits", "type": "http" }, "http": { "method": "GET", "url": "/SecretServer/api/v1/secret-policy/:id/audit", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" }, { "name": "isExporting", "value": "", "type": "query", "description": "isExporting" }, { "name": "skip", "value": "", "type": "query", "description": "Number of records to skip before taking results" }, { "name": "sortBy[0].direction", "value": "", "type": "query", "description": "Sort direction" }, { "name": "sortBy[0].name", "value": "", "type": "query", "description": "Sort field name" }, { "name": "sortBy[0].priority", "value": "", "type": "query", "description": "Priority index. Sorts with lower values are executed earlier" }, { "name": "take", "value": "", "type": "query", "description": "Maximum number of records to include in results" } ] }, "docs": "Get Secret Policy Audits for passed in Id" }, { "info": { "name": "Get the Secret Policy status", "type": "http" }, "http": { "method": "GET", "url": "/SecretServer/api/v1/secret-policy/:id/status", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Gets the status of what secrets and folders the policy is applied to." }, { "info": { "name": "Create a Secret Policy", "type": "http" }, "http": { "method": "POST", "url": "/SecretServer/api/v2/secret-policy", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Secret Policy and return detail model" } ] } ], "bundled": true }