Search + K

Command Palette

Search for a command to run...

Sign In

Activate a watch

POST /_watcher/watch/{watch_id}/_activate
Copy endpoint

A watch can be either active or inactive.

Required authorization

  • Cluster privileges: manage_watcher

Parameters

path Path Parameters

Name Type
watch_id required

The watch identifier.

type TypesName = string

Responses

200 application/json
{ status: WatcherTypesActivationStatus
interface WatcherTypesActivationStatus {
actions: WatcherTypesActions;
state: WatcherTypesActivationState;
version: TypesVersionNumber;
}
; }