Key Value
Remove all key-value pairs in a collection
Remove all key-value pairs in a collection.
put/_fabric/{fabric}/_api/kv/{collection}/truncate
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
The name of the fabric.
collectionstring string required
The name of the key-value collection.
Query parameters
groupIDstring string
Truncate the key-value pairs belonging to this group ID.
Response
Successfully removed all key-value entries.
Example response
{
"code": 200,
"name": "testCollection"
}Changes
No recorded changes to this operation across all 1 revision of this API.