Skip to content

/api/alert-rules/{id}/active

PATCH
/api/alert-rules/{id}/active
curl --request PATCH \
--url https://example.com/api/alert-rules/1/active \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "isActive": true }'
id
required
integer format: int32
object
isActive
boolean
Example generated
{
"isActive": true
}

OK