Skip to main content
DELETE
/
folders
/
{id}
TypeScript
import { Dub } from "dub";

const dub = new Dub({
  token: "DUB_API_KEY",
});

async function run() {
  const result = await dub.folders.delete("<id>");

  console.log(result);
}

run();
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

id
string
required

The ID of the folder to delete.

Response

The deleted folder ID.

id
string
required

The ID of the deleted folder.