{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Revoke API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Revoke", "type": "folder" }, "items": [ { "info": { "name": "Datadog Revoke Role from an Archive", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/logs/config/archives/:archive_id/readers", "params": [ { "name": "archive_id", "value": "", "type": "path", "description": "The ID of the archive." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))" }, { "info": { "name": "Datadog Revoke Role from a Restriction Query", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/logs/config/restriction_queries/:restriction_query_id/roles", "params": [ { "name": "restriction_query_id", "value": "", "type": "path", "description": "The ID of the restriction query." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Removes a role from a restriction query." }, { "info": { "name": "Datadog Revoke Permission", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/roles/:role_id/permissions", "params": [ { "name": "role_id", "value": "", "type": "path", "description": "The unique identifier of the role." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Removes a permission from a role." } ] } ], "bundled": true }