You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A combination of `key` and `label` filtering is supported.
218
222
Use the optional `key` and `label` query string parameters.
219
223
224
+
:::zone-end
220
225
:::zone target="docs" pivot="v23-11"
221
226
222
227
For API Versions greater than `2023-11-01`, filtering by`tags` is also supported. Multiple tag filters can be provided as query string parameters in the `tagName=tagValue` format. Tag filters must be an exact match.
@@ -226,6 +231,7 @@ GET /kv?key={key}&label={label}&tags={tagFilter1}&tags={tagFilter2}&api-version=
226
231
```
227
232
228
233
:::zone-end
234
+
:::zone target="docs" pivot="v1,v23-10,v23-11"
229
235
230
236
```http
231
237
GET /kv?key={key}&label={label}&api-version={api-version}
@@ -248,6 +254,7 @@ GET /kv?key={key}&label={label}&api-version={api-version}
248
254
|`label=prod*`|Matches labels that start with **prod**|
249
255
|`label=prod,test`|Matches labels **prod** or **test** (limited to 5 CSV)|
250
256
257
+
:::zone-end
251
258
:::zone target="docs" pivot="v23-11"
252
259
253
260
|Tags filter|Effect|
@@ -259,7 +266,7 @@ GET /kv?key={key}&label={label}&api-version={api-version}
259
266
|`tags=tag1=`|Matches KV where the tag name is `tag1` and tag value is empty|
260
267
261
268
:::zone-end
262
-
269
+
:::zone target="docs" pivot="v1,v23-10,v23-11"
263
270
264
271
***Reserved characters***
265
272
@@ -480,3 +487,5 @@ HTTP/1.1 204 No Content
480
487
## Delete key (conditionally)
481
488
482
489
This is similar to the "Set key (conditionally)" section earlier in this article.
0 commit comments