---
title: "Update"
method: PUT
path: "/api/cp/alert-global/{id}"
tags: ["Alert Global"]
---

# Update

`PUT /api/cp/alert-global/{id}`

Update an existing Alert Global record by ID.

## Path parameters

- `id` integer, required

## Request body

- AlertGlobalInput
  - `id` integer — Id
  - `account_id` integer — Account Id (references account.id)
  - `title` string — Title
  - `area` string, required — Area
  - `operator` '<' | '<=' | '=' | '>' | '>=' | 'always' — Operator
  - `threshold` number — Threshold
  - `reset_threshold` number — Reset Threshold
  - `sample_period` integer — Sample Period
  - `template` string — Template
  - `penalty` integer — Penalty
  - `cron` string — Cron
  - `sandbox_id` integer — Sandbox Id
  - `last_ran` string, date-time, nullable — Last Ran
  - `next_run` string, date-time — Next Run
  - `tag` string — Tag
  - `notice_level` 'none' | 'warning' | 'error', required — Notice Level
  - `table_change` string — Table Change
  - `query` string — Query

## Response `200`

Operation completed successfully

- SuccessResponse
  - `status` string — Operation status

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `404` — Resource not found
- `409` — Conflict - foreign key or unique constraint violation on write
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
