From fe10b36b30e4b6c21c3bdc056df46134d9aae4a6 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 5 Apr 2018 14:06:18 +0200 Subject: [PATCH] Fix curl example for deleting series (#4046) --- 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 7f23ec778..d00716c3c 100644 --- a/docs/querying/api.md +++ b/docs/querying/api.md @@ -492,8 +492,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 -X POST \ + -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]=up&match[]=process_start_time_seconds{job="prometheus"}' ``` *New in v2.1*