WDS File System icon

WDS File System

Manage files and directories in WDS project filesystem

Actions11

File or Directory → Rename

AI-generated

Summary

Rename a file or directory within a specified WDS project, specifying original and new paths, with optional overwriting of existing target.

Inputs

  • API Key — The API key for authenticating requests to WDS Service API. If not provided, the API key from credentials will be used.
  • Domain — The domain of the WDS project. If not provided, the domain from credentials will be used.
  • Project ID (required) — The ID of the project containing the file or directory to rename.
  • Path (required) — The current path to the file or directory within the project.
  • Target Path (required) — The new path for the file or directory.
  • Overwrite — Whether to overwrite the target file or directory if it already exists. Defaults to false.

Output shape

a list with one item containing a JSON object indicating success or failure of the rename operation

Returns one output item per input item. In case of failure, the item includes 'success': false and an error message. The exact structure of the success response is not detailed but indicates completion of the rename.

Discussion