Manage
mkdir POST
Create a directory.
await ns.mkdirAsync("/123456/releases/2026-10");ns.mkdir("/123456/releases/2026-10", (err, res) => console.log(res?.statusCode));npx akamai-netstorage mkdir releases/2026-10Signatures
mkdirAsync(ns_path: string): Promise<MkdirResponse>
mkdir(ns_path: string, callback: (err: any, res?: http.IncomingMessage, body?: MkdirResponse) => void): void
Parameters
| Name | Type | Description |
|---|---|---|
ns_path | string | Full path of the new directory. |
Returns
MkdirResponse
parsed response body
On the wire
| HTTP method | POST |
| X-Akamai-ACS-Action | version=1&action=mkdir |
| Signed with | X-Akamai-ACS-Auth-Data and X-Akamai-ACS-Auth-Sign (HMAC-SHA256) |
| CLI | akamai-netstorage mkdir releases/2026-10 |