Create a folder for the authenticated workspace.
Python
from dub import Dub with Dub( token="DUB_API_KEY", ) as d_client: res = d_client.folders.create() assert res is not None # Handle response print(res)
{ "id": "<string>", "name": "<string>", "type": "default", "accessLevel": null, "createdAt": "<string>", "updatedAt": "<string>" }
Default authentication mechanism
The created folder
The response is of type object.
object
Was this page helpful?