quick-delete action

You can use quick-delete to perform a delete of a selected directory, including all contents.

Path Params
integer
required

The unique CP code that represents the root directory in the applicable NetStorage storage group.

Learn more about CP codes.

string
required

If applicable, any additional sub-directories that exist within the path to the desired file or symbolic link.

Headers
string
required

Form the header value as a query parameter string with these fields:

  • version=1. This value is constant.
  • action=quick-delete. This is the action for this API operation.
  • 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.
string
required

This required header is referred to as [signature header 1].

X-Akamai-ACS-Auth-Data: [version], [0.0.0.0], [0.0.0.0], [current epoch time], [unique-number-id], [uploadAccountId]

  • [version]. Indicate your authentication encryption format.
  • [0.0.0.0]. This is a reserved field you specify as 0.0.0.0.
  • [current epoch time]. This is the time of your API client within one (1) minute of the current time.
  • [unique-number-id]. A random numeric ID your client creates to guarantee uniqueness to support multiple requests.
  • [uploadAccountId]. The name of an upload account with access to the target storage group.

Learn more about the "X-Akamai-ACS-Auth-Data" authentication header.

string
required

This required header is referred to as [signature header 2]. It's a Base64-encoded-signature comprised of HMAC-SHA256([key], [data] + [sign-string]).

Learn more about the "X-Akamai-ACS-Auth-Sign" authentication header.

string
required

This is your full NetStorage Usage API connection hostname.

Responses
204

The command succeeded, with no response data.

400

Malformed request, such as an illegal combination of parameters in the X-Akamai-ACS-Action request header. There may be more information in the response body, represented as unstructured text.

Language
URL
Response
Click Try It! to start a request and see the response here!