# Delete an uptime check

Delete a check with its results and its outage log.

Replace _check-id_ with the check's id.

**Warning:**
The check's results and outage log are deleted with it. A status page component that followed the
check is left without one and shows **Operational** until you change it.

## Prerequisites

- Permission for `monitoring:DeleteChecks` on the check,
  `rn:ews::<organization id>:monitoring:check/<check id>`. Without it, the console's
  **Delete check** is unavailable.
- In the console, also `monitoring:DescribeChecks` to open **Uptime**.

## Delete the check

**Console**
1. Open **Monitoring**, then **Uptime**.
2. Open the check's action menu and choose **Delete check**.
3. Choose **Delete**.

Or, on the check's page, choose **Delete check** under **Delete this check**, enter the check's
name, and choose **Delete check**.

**CLI**
```sh
dcloud monitoring checks delete check-id
```

**API**
```http
DELETE /monitoring/api/checks/check-id
```

**Terraform**
Remove the `dcloud_uptime_check` from your configuration and apply.

## Result

The check stops and disappears from the list. The answer is `200` with its `id`; `404` "Check not
found" when your organization has no such check.

## Related

- [Pause or resume a check](pause-or-resume-a-check.md)
- `monitoring.checks.delete` · `dcloud monitoring checks delete`
