Rename a Resource
Summary
Rename a file or folder at the specified path
Endpoint
POST https://mysite.files.com/v1.2/renameResource
Replace mysite.files.com with your site address.
Request Parameters
Name | Data Type | Description |
---|---|---|
access_token | string | Required. The session key that identifies which user is authenticated. Either an access token returned by the authenticateUser function, or a a Files.com user API Key. |
filePath | string | Required. Current path of the file or folder to rename. |
newName | string | Required. The new name of the file or folder |