1. Splunk Enterprise REST API Reference Manual:
Endpoint: storage/collections/data/{collection}
Method: DELETE
Description: "Deletes all records in a collection." This explicitly confirms that a DELETE request to the collection endpoint without a key deletes all records.
Source: Splunk Enterprise 9.2.1
REST API Reference Manual
"storage/collections/data/{collection}" section.
2. Splunk Developer Guide:
Section: Use the KV Store > KV Store REST endpoints
Content: The documentation lists the endpoint DELETE /servicesNS/{user}/{app}/storage/collections/data/{collection} with the description "Deletes all records from the collection." It contrasts this with DELETE /servicesNS/{user}/{app}/storage/collections/data/{collection}/{key}
which "Deletes a single record from the collection."
Source: Splunk Developer Documentation
Developing for Splunk Cloud Platform and Splunk Enterprise
"Use the KV Store" chapter.