Delete multiple key-value pairs
Deprecated DELETE
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk https://api.cloudflare.com/client/v4
Remove multiple KV pairs from the namespace. Body should be an array of up to 10,000 keys to be removed.
Parameters
path Path Parameters
| Name | Type |
|---|---|
namespace_id
required
| type WorkersKvNamespaceIdentifier = string |
account_id
required
| type WorkersKvIdentifier = string |
Request Body
application/json
required
type WorkersKvBulkDelete = type WorkersKvKeyNameBulk = string[]
Responses
200 application/json
Delete multiple key-value pairs response.
type WorkersKvApiResponseCommonNoResult = interface WorkersKvApiResponseCommon {
errors:WorkersKvMessages ;
messages:WorkersKvMessages ;
success: true;
} & { result?: {} | null; } & { result?:WorkersKvBulkResult ; }
errors:
messages:
success: true;
} & { result?: {} | null; } & { result?:
Client Errors
4XX application/json
Delete multiple key-value pairs response failure.
type WorkersKvApiResponseCommonNoResult = interface WorkersKvApiResponseCommon {
errors:WorkersKvMessages ;
messages:WorkersKvMessages ;
success: true;
} & { result?: {} | null; } & { result?:WorkersKvBulkResult ; }
errors:
messages:
success: true;
} & { result?: {} | null; } & { result?: