API referenceAlertsPOST /v2/alerts/{alertRuleId}/rotate-secretPOST/v2/alerts/{alertRuleId}/rotate-secretSendPathPath ParametersalertRuleId*stringResponse Body200application/jsondefaultapplication/problem+jsoncURLJavaScriptGoPythonJavaC#Rustcurl -X POST "https://example.com/v2/alerts/string/rotate-secret"200default{ "$schema": "https://example.com/schemas/RotateSecretOutputBody.json", "webhookSecret": "string"}GET /v2/alerts/{alertRuleId}/occurrences GETPrevious PagePATCH /v2/alerts/{alertRuleId} PATCHNext Page