mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
b5d42a01c7
Original commit: elastic/x-pack-elasticsearch@b70f48d25c
23 lines
523 B
Plaintext
23 lines
523 B
Plaintext
[[deleting-watches]]
|
|
=== Deleting Watches
|
|
|
|
You use the Watcher <<api-rest-delete-watch, `delete`>> API to permanently remove a watch.
|
|
|
|
For example:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
DELETE _watcher/watch/my_watch
|
|
--------------------------------------------------
|
|
// AUTOSENSE
|
|
|
|
A successful response looks like this:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
{
|
|
"_id": "my-watch",
|
|
"_version": 8,
|
|
"found": true
|
|
}
|
|
-------------------------------------------------- |