curl -X POST "https://api.warrn.io/v2/alerts/cpu-high-web-03/close?identifierType=alias" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
{
"result": "Request will be processed",
"took": 0.0,
"requestId": "f7a8b9c0-d1e2-3456-7890-abcdef123456"
}
Close (resolve) an alert using OpsGenie API v2 format. Supports lookup by alias.
curl -X POST "https://api.warrn.io/v2/alerts/cpu-high-web-03/close?identifierType=alias" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
{
"result": "Request will be processed",
"took": 0.0,
"requestId": "f7a8b9c0-d1e2-3456-7890-abcdef123456"
}
Close an alert, setting its status toDocumentation Index
Fetch the complete documentation index at: https://docs.warrn.io/llms.txt
Use this file to discover all available pages before exploring further.
resolved. Use identifierType=alias to close by the alias you set when creating the alert.
Bearer warrn_xxx. Requires write permission.identifierType parameter.id, alias, tiny."Request will be processed".curl -X POST "https://api.warrn.io/v2/alerts/cpu-high-web-03/close?identifierType=alias" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
{
"result": "Request will be processed",
"took": 0.0,
"requestId": "f7a8b9c0-d1e2-3456-7890-abcdef123456"
}
curl -X POST "https://api.warrn.io/v2/alerts/a1b2c3d4-e5f6-7890-abcd-ef1234567890/close" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
# 1. Alert fires — create with alias
curl -X POST "https://api.warrn.io/v2/alerts" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..." \
-d '{"message": "Disk full on db-01", "alias": "disk-full-db-01", "priority": "P2"}'
# 2. Issue resolved — close by alias
curl -X POST "https://api.warrn.io/v2/alerts/disk-full-db-01/close?identifierType=alias" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
"Alert not found with alias: {your-alias}".