API referenceIncidents
PATCH /alert-rules/{id}
PATCH /alert-rules/{id}: OrkStage Control API v1 endpoint reference.
PATCH
header
AuthorizationBearer <ork_<env>_<id>_<secret>>Organization API key (scoped). Sessions use the cookie instead.
id*stringx-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
name?stringLength
2 <= length <= 120condition?|severity?stringDefault
"medium"Value in
"low""medium""high""critical"actions?array<>Items
1 <= itemsDefault
[ "create_incident", "notify_owners"]cooldownSeconds?integerRange
0 <= value <= 86400Default
900autoResolve?booleanDefault
trueenabled?booleanDefault
truecurl -X PATCH 'http://localhost:4000/api/v1/alert-rules/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
Empty