The "quick-delete" action (NS4)
You can use the "quick-delete" with ObjectStore (NS4) to perform a delete of a selected directory, including all contents.
CAUTION: There are specific concerns and ramifications regarding the use of this action with an ObjectStore (NS4) storage group. It is strongly recommended that you review Considerations when using "quick-delete" before using this action.
POST /[CP Code]/[path]/[directory] HTTP/1.1 Host: [Domain Prefix]-nsu.akamaihd.net X-Akamai-ACS-Action: version=1&action=quick-delete&quick-delete=imreallyreallysure [Signature Header 1] [Signature Header 2] [Body]
Variable values are as follows:
[CP code]: The unique CP code that represents the root directory in the applicable NetStorage Storage Group.
[path]: Any sub-directories off of the CP Code root, that are to serve as parents of the new directory (if applicable).
[directory]: The name of the directory to be recursively deleted.
Note: If the specified object does not exist, an HTTP 404 “Not Found” error is returned.
[Domain Prefix]: This is the unique domain prefix set up for the storage group during its creation. It can be viewed in the NetStorage Groups UI in Control Center.
[Signature Header 1]and
[Signature Header 2]: Applicable signature headers.
[Body]: You must also include an applicable request
[Body], which is the case with any “PUT” or “POST” action.
Action header field variables
quick-delete=imreallyreallysure: This action header field must be set to exactly this 18-character string to help minimize the chances of an inadvertent deletion.