Skip to main content
DELETE
/
folders
/
{id}
Python
from dub import Dub


with Dub(
    token="DUB_API_KEY",
) as d_client:

    res = d_client.folders.delete(id="<id>")

    # Handle response
    print(res)
{
  "id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://dub.co/llms.txt

Use this file to discover all available pages before exploring further.

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.