From e5a767cff824aaf2e44c9e57d5cba1bd15eb7b37 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 --- README.md | 1 + docs/README.md | 1 + docs/Single-server-VictoriaMetrics.md | 1 + docs/url-examples.md | 2 ++ 4 files changed, 5 insertions(+) diff --git a/README.md b/README.md index de41a4a30..7a421df37 100644 --- a/README.md +++ b/README.md @@ -1212,6 +1212,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/README.md b/docs/README.md index cde61e0c4..a3e24c984 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 959db920b..818f99559 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 322877e46..3b2a6ae26 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: