1. Splunk Enterprise REST API Reference Manual: The documentation for the storage/collections/data/{collection}/{key} endpoint explicitly details its usage.
Reference: Splunk Enterprise Documentation
REST API Reference Manual
"Endpoints: storage/collections/data/{collection}/{key}".
Details: This section states
"Use the DELETE method to delete a specific record in a collection
specified by key." This confirms that the correct path structure for deleting a record with a specific key is /storage/collections/data/{collection}/{key}.
2. Splunk Developer Documentation: The developer guide on using the KV Store API provides examples that reinforce the correct endpoint structure.
Reference: Splunk Developer Documentation
Develop with the Splunk platform
"Use the KV Store API".
Details: In the section "Manage KV Store records
" the examples for deleting a single record consistently use the DELETE method with the URI format /services/storage/collections/data/{collection}/{keyid}. (Note: /services is the standard prefix for Splunk REST API calls).