Skip to main content

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

NameData TypeDescription
access_tokenstringRequired. 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.
filePathstringRequired. Current path of the file or folder to rename.
newNamestringRequired. The new name of the file or folder

Get Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.