pCloud

Interact with pCloud cloud storage using OAuth 2.0 or legacy authentication

Folder → Rename

AI-generated

Summary

Renames a specified folder in pCloud.

Inputs

  • sourcePath (required) — Current path of the folder to be renamed.
  • newName (required) — New name for the folder.

Output shape

a record indicating success and updated folder details

Returns a success message along with metadata of the renamed folder.

Examples

Example 1: Rename a folder from /OldFolder to NewFolder

Set sourcePath to '/OldFolder' and newName to 'NewFolder'.

Discussion