Dub icon

Dub

Interact with the Dub API

Folder → Update

AI-generated

Summary

Update a folder in the Dub workspace.

Inputs

  • folderId (required) — The ID of the folder to update
  • name — The name of the folder (max 190 characters)
  • description — The description of the folder (max 500 characters)
  • accessLevel — The access level of the folder within the workspace. Defaults to read if not specified. Valid values: read, write

Output shape

The API response from Dub indicating the folder was updated. Exact return shape is not documented in the provided source or properties; only the input parameters and their constraints are declared.

The operation targets the Dub API endpoint /folders/:folderId via a PATCH/UPDATE method. All parameters except folderId are optional; providing none of name, description, or accessLevel will result in no field changes unless the API treats an empty payload as a successful no-op.

Examples

Example 1: Update folder name and access level

folderId: '12345', name: 'New Folder Name', accessLevel: 'write'

Links

Discussion