コンテンツにスキップ

Deactivate an alert rule

DELETE
/v1/projects/{id}/alerts/{alertId}

Deactivates an alert rule by setting isActive to false. The rule record is retained and can be reactivated via PATCH. This endpoint does not permanently delete the rule.

id
required
string format: uuid

Project UUID.

alertId
required
string format: uuid

Alert rule UUID.

Alert rule deactivated.

object
success
boolean
data
object
id
string format: uuid
isActive
boolean

Invalid request parameters or body.

object
success
boolean
error

Human-readable error message.

string

Missing or invalid API key.

object
success
boolean
error

Human-readable error message.

string

Resource not found.

object
success
boolean
error

Human-readable error message.

string

Rate limit exceeded.

object
success
boolean
error

Human-readable error message.

string
X-RateLimit-Limit
integer

Maximum number of requests allowed per hour.

X-RateLimit-Remaining
integer

Number of requests remaining in the current window.

X-RateLimit-Reset
integer

Unix timestamp when the rate limit window resets.