Skip to content
On this page

Cloud Storage Create Directory

🔑 Need JWT Authorization

Description

Create directory in cloud storage

Method And Path

js
POST /v2/cloud-storage/create-directory

Request

ts
{
    "authorization": string;
    "x-request-id": string;
    "x-session-id": string;
}

Body

ts
{
    parentDirectoryPath: string;
    directoryName: string;
}

parentDirectoryPath

Create a directory in this folder

directoryName

Create directory name

Response

Success

HTTP Status Code: 200

ts
{
    status: Status.Success,
    data: {}
}

Extends Type: Status

Failed

HTTP Status Code: 200

ts
{
    status: Status.Failed,
    code: ErrorCode
}

Extends Type: Status, ErrorCode

Released under the MIT License.