---
title: "Update a Check"
method: PUT
path: "/v2/uptime/checks/{check_id}"
tags: ["DigitalOcean-public.v2-new_Uptime"]
---

# Update a Check

`PUT /v2/uptime/checks/{check_id}`

To update the settings of an Uptime check, send a PUT request to `/v2/uptime/checks/$CHECK_ID`.

## Path parameters

- `check_id` string, uuid, required

## Request body

- CheckUpdatable
  - `name` string — A human-friendly display name.
  - `type` 'ping' | 'http' | 'https' — The type of health check to perform.
  - `target` string, url — The endpoint to perform healthchecks on.
  - `regions` string[] — An array containing the selected regions to perform healthchecks from.
  - `enabled` boolean — A boolean value indicating whether the check is enabled/disabled.

## Response `200`

The response will be a JSON object with a key called `check`. The value of this will be an object that contains the standard attributes associated with an uptime check.

- object
  - `check` Check
    - `id` string, uuid — A unique ID that can be used to identify and reference the check.
    - `name` string — A human-friendly display name.
    - `type` 'ping' | 'http' | 'https' — The type of health check to perform.
    - `target` string, url — The endpoint to perform healthchecks on.
    - `regions` string[] — An array containing the selected regions to perform healthchecks from.
    - `enabled` boolean — A boolean value indicating whether the check is enabled/disabled.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
