Dub API
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>" }
Delete a folder from the workspace. All existing links will still work, but they will no longer be associated with this folder.
Default authentication mechanism
The ID of the folder to delete.
The deleted folder ID.
The ID of the deleted folder.
Was this page helpful?