Delete a folder from the workspace. All existing links will still work, but they will no longer be associated with this folder.
DELETE
/
folders
/
{id}
Copy
Ask AI
from dub import Dubwith Dub( token="DUB_API_KEY",) as d_client: res = d_client.folders.delete(id="<id>") assert res is not None # Handle response print(res)
Copy
Ask AI
{ "id": "<string>"}
Assistant
Responses are generated using AI and may contain mistakes.
from dub import Dubwith Dub( token="DUB_API_KEY",) as d_client: res = d_client.folders.delete(id="<id>") assert res is not None # Handle response print(res)