Skip to main content

/kv/rest/v1/sets/bulk REST Method

Bulk update sets.

Updated on
Jun 28, 2024

/kv/rest/v1/sets/bulk REST Method

Body Parameters

addSets
object
An object containing key-value pairs to be added
deleteSets
array
An array of strings representing keys to be deleted

Returns

200 OK
Indicates that the bulk update operation was successful
Request
1
curl -X POST \
2
"https://api.quicknode.com/kv/rest/v1/sets/bulk" \
3
-H "accept: application/json" \
4
-H "Content-Type: application/json" \
5
-H "x-api-key: YOUR_API_KEY" \
6
-d $'{
7
"addSets": {
8
"key1": "value1",
9
"key2": "value2"
10
},
11
"deleteSets": [
12
"key3"
13
]
14
}'
15
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free