API referenceAlerts

POST /v2/alerts/{alertRuleId}/rotate-secret

POST
/v2/alerts/{alertRuleId}/rotate-secret

Path Parameters

alertRuleId*string

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/v2/alerts/string/rotate-secret"
{  "$schema": "https://example.com/schemas/RotateSecretOutputBody.json",  "webhookSecret": "string"}