monitoring.checks.exclude-outage

Mark an outage a check error: status pages keep showing the span, but it no longer counts against uptime

PUT /monitoring/api/checks/{id}/outages/{outageId}/exclusionIAM monitoring:ExcludeOutageChanges state

For a check that was wrong (a path that answers 403 by design, an expired test token), not for a real outage. Nothing is deleted: the span is drawn hatched, the day lists the reason, and a status page lists the correction. Undo with include-outage.

Request syntax

PUT /monitoring/api/checks/{id}/outages/{outageId}/exclusion
{
  "reason": "string"
}

Path parameters

  • idRequired

    string

    Constraints: uuid

  • outageIdRequired

    string

    Constraints: uuid

Request body

  • reasonRequired

    string

    Why the outage was not real, shown in the History of every status page showing the check; up to 500 characters

Response

200 with the outage { id, startedAt, endedAt, cause, fromPending, excludedAt, excludedReason }. 409 while the outage is still open (fix the check; it closes once the check passes). 404 when the check or the outage is not the organization’s.

A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.

Errors

  • 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
  • 401No credentials, or an access key that is unknown, revoked or expired.
  • 403The caller's policies do not allow monitoring:ExcludeOutage on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
  • 404The resource does not exist in your organization.

Examples

The required parameters only, with example values. Replace id and the other placeholders with your own.

dcloud monitoring checks exclude-outage id outageId --reason example

Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_monitoring_checks_exclude-outage.