Actions35
- File Actions
- Folder Actions
- Room Actions
- User Actions
Folder → Update Folder
AI-generatedSummary
Renames an existing ONLYOFFICE DocSpace folder by sending a PUT to the folder endpoint, and returns the updated folder record.
Inputs
- Authentication (required) — Credential type used for the request: API Key, Basic Auth, OAuth2 or Personal Access Token. The matching DocSpace credential must be configured.
- Folder ID (required) — Numeric ID of the folder to update.
- Title — New title for the folder. If left empty, the title is omitted from the request body, so an empty PUT body is sent and the title is not changed.
Output shape
One output item per input item, containing the updated folder object returned by DocSpace (the response field of the API reply).
With Continue On Fail enabled, a failed item returns
{ error: <message> }instead of stopping the workflow. The operation makes a single API call (PUT api/2.0/files/folder/{folderId}) and does not poll or fetch the folder separately.
Examples
Example 1: Rename a folder to a new name taken from a previous node
Authentication: API Key; Folder ID: 12345; Title: expression such as {{ $json.newName }}
Example 2: Rename a folder after creating it with the Create Folder operation
Folder ID: {{ $json.id }} from the Create Folder output; Title: 'Archive 2026'