Boffin Codersts-netstorageapi-akamaiby Boffin Coders

Manage

rmdir POST

Remove an empty directory.

await ns.rmdirAsync("/123456/releases/old");

Signatures

rmdirAsync(ns_path: string): Promise<RmdirResponse>
rmdir(ns_path: string, callback: (err: any, res?: http.IncomingMessage, body?: RmdirResponse) => void): void

Parameters

NameTypeDescription
ns_pathstringFull path of the directory.

Returns

RmdirResponse

parsed response body

On the wire

HTTP methodPOST
X-Akamai-ACS-Actionversion=1&action=rmdir
Signed withX-Akamai-ACS-Auth-Data and X-Akamai-ACS-Auth-Sign (HMAC-SHA256)
CLIakamai-netstorage rmdir releases/old

Build and sign this request in the playground →

Notes

← mkdirrename →