Path parameters
- id
string Required The watch identifier.
DELETE /_watcher/watch/{id}
Console
DELETE _watcher/watch/my_watch
resp = client.watcher.delete_watch(
id="my_watch",
)
const response = await client.watcher.deleteWatch({
id: "my_watch",
});
response = client.watcher.delete_watch(
id: "my_watch"
)
$resp = $client->watcher()->deleteWatch([
"id" => "my_watch",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_watcher/watch/my_watch"
Response examples (200)
A successful response from `DELETE _watcher/watch/my_watch`.
{
"found": true,
"_id": "my_watch",
"_version": 2
}