Delete all series metadata matching the given filter.
application/jsonField | Type | Purpose |
---|---|---|
filter
required
|
Filter
|
A filter to use when quering for tags. |
{"filter": ["and", ["key", "system"], ["=", "role", "database"]]}
$ curl -XDELETE -H "Content-Type: application/json"
http://localhost:8080/metadata/series \
-d '{"filter": ["and", ["key", "system"], ["=", "role", "database"]]}'
[
{"key": "foo", "tags": {"site": "lon"}},
{"key": "foo", "tags": {"site": "sto"}}
]