Manage
quickDelete POST
Delete a directory and everything in it.
await ns.quickDeleteAsync("/123456/cache");ns.quickDelete("/123456/cache", (err, res) => console.log(res?.statusCode));npx akamai-netstorage quick-delete cache --yesSignatures
quickDeleteAsync(ns_path: string): Promise<QuickDeleteResponse>
quickDelete(ns_path: string, callback: (err: any, res?: http.IncomingMessage, body?: QuickDeleteResponse) => void): void
Parameters
| Name | Type | Description |
|---|---|---|
ns_path | string | Full path of the directory. |
Returns
QuickDeleteResponse
parsed response body
On the wire
| HTTP method | POST |
| X-Akamai-ACS-Action | version=1&action=quick-delete&quick-delete=imreallyreallysure |
| Signed with | X-Akamai-ACS-Auth-Data and X-Akamai-ACS-Auth-Sign (HMAC-SHA256) |
| CLI | akamai-netstorage quick-delete cache --yes |
Build and sign this request in the playground →
Notes
- Akamai must enable quick-delete on the CP code first.
- This cannot be undone.