The "delete" action (NS4)

You can "delete" an object from an ObjectStore (NS4) storage group.

PUT /[CP code]/[path]/[file.ext] HTTP/1.1
Host: [Domain Prefix]-nsu.akamaihd.net
X-Akamai-ACS-Action: version=1&action=delete
[Signature Header 1]
[Signature Header 2]

[Body]

Required variables

Variable values are as follows:

  • [CP code]: The unique CP code that represents the root directory in the applicable NetStorage Storage Group.
  • [path]: If applicable, any additional sub-directories that exist within the path to the desired file/symbolic link.
  • [file.ext]: The complete filename and extension of the object to be 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.