From 178d64cc510074e41acc12058adf0b442a10b4d3 Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Thu, 11 Jan 2024 15:39:11 +0400 Subject: [PATCH] docs: explicitly mention "delete_series" endpoint accepts any HTTP method (#5605) See: #5552 Signed-off-by: Zakhar Bessarab --- docs/README.md | 1 + docs/Single-server-VictoriaMetrics.md | 1 + docs/url-examples.md | 2 ++ 3 files changed, 4 insertions(+) diff --git a/docs/README.md b/docs/README.md index cde61e0c4a..a3e24c9843 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1215,6 +1215,7 @@ before actually deleting the metrics. By default, this query will only scan seri adjust `start` and `end` to a suitable range to achieve match hits. The `/api/v1/admin/tsdb/delete_series` handler may be protected with `authKey` if `-deleteAuthKey` command-line flag is set. +Note that handler accepts any HTTP method, so sending a `GET` request to `/api/v1/admin/tsdb/delete_series` will result in deletion of time series. The delete API is intended mainly for the following cases: diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 959db920bc..818f995591 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -1223,6 +1223,7 @@ before actually deleting the metrics. By default, this query will only scan seri adjust `start` and `end` to a suitable range to achieve match hits. The `/api/v1/admin/tsdb/delete_series` handler may be protected with `authKey` if `-deleteAuthKey` command-line flag is set. +Note that handler accepts any HTTP method, so sending a `GET` request to `/api/v1/admin/tsdb/delete_series` will result in deletion of time series. The delete API is intended mainly for the following cases: diff --git a/docs/url-examples.md b/docs/url-examples.md index 322877e46e..3b2a6ae268 100644 --- a/docs/url-examples.md +++ b/docs/url-examples.md @@ -14,6 +14,8 @@ menu: **Deletes time series from VictoriaMetrics** +Note that handler accepts any HTTP method, so sending a `GET` request to `/api/v1/admin/tsdb/delete_series` will result in deletion of time series. + Single-node VictoriaMetrics: