---
title: "Update Watch Endpoint"
method: PATCH
path: "/v1/watches/{watch_id}"
tags: ["watches"]
---

# Update Watch Endpoint

`PATCH /v1/watches/{watch_id}`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/watches/{watch_id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

## Path parameters

- `watch_id` string, required

## Headers

- `x-user-id` string, nullable
- `authorization` string, nullable
- `X-Actionbox-Client` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Request body

- WatchUpdate
  - `name` string, nullable
  - `schedule_type` 'interval' | 'cron', nullable
  - `interval_seconds` integer, nullable
  - `cron_expression` string, nullable
  - `timezone` string, nullable
  - `grace_seconds` integer, nullable
  - `max_runtime_seconds` integer, nullable
  - `priority` 'low' | 'normal' | 'high' | 'urgent'
  - `runbook_url` string, uri, nullable
  - `signal_method` 'any' | 'post', nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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