Skip to main content
PATCH
Update Watch

Overview

Partial update: omitted fields are unchanged. Requires the portfolios:manage scope.

Path Parameters

string
required
Watch ID (wat_*).

Body Parameters

All fields optional.
string
1-255 chars.
object
Replace the entire saved query DSL. Same validation rules as Create Watch.
string
Only always_per_alert is accepted (same as Create Watch).
string
active or paused. Use Pause / Resume instead when you just want to toggle evaluation, they’re equivalent but read more clearly in your own code. A third status, disabled, exists but isn’t settable here: it’s the state a watch moves to when you delete it, and it’s excluded from List Watches by default.
object
Free-form metadata.

Response

Returns the updated Watch.

Errors

Code Examples