Update api.md (#3745)

Update doc with correct example for endpoint "POST /api/v1/admin/tsdb/delete_series"
This commit is contained in:
Alexis Camilleri 2018-01-26 16:08:54 +01:00 committed by Brian Brazil
parent 85f23d82a0
commit 3a1d1e9e3e

View File

@ -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*