Skip to main content

Vault | Node.js SDK | Folders Endpoints

Folders Endpoints

Create

folderCreate(request: CreateRequest): Promise<PangeaResponse<CreateResult>>

Creates a folder.

required parameters

CreateRequest

An object representing request to /folder/create endpoint

Response Object

Promise<PangeaResponse<CreateResult>>
const createParentResp = await vault.folderCreate({
 name: "folder_name",
 folder: "parent/folder/name",
});