from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.folders.update(id="<id>")
# Handle response
print(res){
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "default",
"accessLevel": null,
"createdAt": "<string>",
"updatedAt": "<string>"
}Update a folder in the workspace.
from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.folders.update(id="<id>")
# Handle response
print(res){
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "default",
"accessLevel": null,
"createdAt": "<string>",
"updatedAt": "<string>"
}Default authentication mechanism
The ID of the folder to update.
The updated folder.
The unique ID of the folder.
The name of the folder.
The description of the folder.
default, mega The access level of the folder within the workspace.
write, read The date the folder was created.
The date the folder was updated.
Was this page helpful?