{ "opencollection": "1.0.0", "info": { "name": "Microsoft Sentinel REST AlertRules API", "version": "2023-02-01" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "AlertRules", "type": "folder" }, "items": [ { "info": { "name": "List alert rules", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules", "params": [ { "name": "subscriptionId", "value": "", "type": "path" }, { "name": "resourceGroupName", "value": "", "type": "path" }, { "name": "workspaceName", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ] }, "docs": "List alert rules" }, { "info": { "name": "Get alert rule", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId", "params": [ { "name": "subscriptionId", "value": "", "type": "path" }, { "name": "resourceGroupName", "value": "", "type": "path" }, { "name": "workspaceName", "value": "", "type": "path" }, { "name": "ruleId", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ] }, "docs": "Get alert rule" }, { "info": { "name": "Create or update alert rule", "type": "http" }, "http": { "method": "PUT", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId", "params": [ { "name": "subscriptionId", "value": "", "type": "path" }, { "name": "resourceGroupName", "value": "", "type": "path" }, { "name": "workspaceName", "value": "", "type": "path" }, { "name": "ruleId", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update alert rule" }, { "info": { "name": "Delete alert rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/providers/Microsoft.SecurityInsights/alertRules/:ruleId", "params": [ { "name": "subscriptionId", "value": "", "type": "path" }, { "name": "resourceGroupName", "value": "", "type": "path" }, { "name": "workspaceName", "value": "", "type": "path" }, { "name": "ruleId", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ] }, "docs": "Delete alert rule" } ] } ], "bundled": true }