Path parameters

  • idstring Required

    The watch identifier.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
DELETE /_watcher/watch/{id}
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
}