monitoring.checks.exclude-outageMark an outage a check error: status pages keep showing the span, but it no longer counts against uptime
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
idRequiredstring
Constraints: uuid
outageIdRequiredstring
Constraints: uuid
Request body
reasonRequiredstring
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 examplecurl -X PUT "https://console.platform.deutschecloud.app/monitoring/api/checks/id/outages/outageId/exclusion" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"reason":"example"}'import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.monitoring.checks.excludeOutage({ id: "id", outageId: "outageId", reason: "example" });from dcloud import Client
client = Client()
result = client.monitoring.checks.exclude_outage(id="id", 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.