From 3a1d1e9e3ec2a5408ea338a87cccdb55eb638684 Mon Sep 17 00:00:00 2001 From: Alexis Camilleri Date: Fri, 26 Jan 2018 16:08:54 +0100 Subject: [PATCH] Update api.md (#3745) Update doc with correct example for endpoint "POST /api/v1/admin/tsdb/delete_series" --- docs/querying/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/querying/api.md b/docs/querying/api.md index f885b110b4..d2f31b53e6 100644 --- a/docs/querying/api.md +++ b/docs/querying/api.md @@ -429,8 +429,8 @@ Not mentioning both start and end times would clear all the data for the matched Example: ```json -$ curl -X DELETE \ - -g 'http://localhost:9090/api/v1/series?match[]=up&match[]=process_start_time_seconds{job="prometheus"}' +$ curl -XPOST \ + -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]=up&match[]=process_start_time_seconds{job="prometheus"}' ``` *New in v2.1*