---
title: "Update Scheduled Check"
method: PUT
path: "/api/v1/scheduled-checks/{check_id}"
tags: ["scheduled-checks"]
---

# Update Scheduled Check

`PUT /api/v1/scheduled-checks/{check_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/scheduled-checks/{check_id}`
- Auth: none declared

Update an existing scheduled check.

## Path parameters

- `check_id` integer, required

## Headers

- `Authorization` string

## Request body

- UpdateScheduledCheckRequest: Request to update a scheduled check.
  - `schedule_config` ScheduleConfig: Schedule configuration from frontend.
    - `minute` string, nullable
    - `hour` string, nullable
    - `day_of_week` string, nullable
    - `day_of_month` string, nullable
    - `timezone` string, nullable
    - `cron_expression` string, nullable
    - `interval_minutes` integer, nullable
  - `is_active` boolean, nullable
  - `name` string, nullable
  - `schedule_type` string, nullable

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
