Boffin Codersts-netstorageapi-akamaiby Boffin Coders

Manage

delete POST

Delete a file or symlink.

await ns.deleteAsync("/123456/static/old.js");

Signatures

deleteAsync(ns_path: string): Promise<DeleteResponse>
delete(ns_path: string, callback: (err: any, res?: http.IncomingMessage, body?: DeleteResponse) => void): void

Parameters

NameTypeDescription
ns_pathstringFull path of the file.

Returns

DeleteResponse

parsed response body

On the wire

HTTP methodPOST
X-Akamai-ACS-Actionversion=1&action=delete
Signed withX-Akamai-ACS-Auth-Data and X-Akamai-ACS-Auth-Sign (HMAC-SHA256)
CLIakamai-netstorage rm static/old.js

Build and sign this request in the playground →

← mtimequickDelete →