Skip to main content

Rename a Resource

Summary

Changes a name of a file or folder.

Endpoint

PATCH https://mysite.files.com/api/v2/resources/{id}

Replace mysite.files.com with your site address.

Path Parameters

ParameterDescription
idThe internal ID number of the resource.

Request Body Schema

NameData TypeNotes
namestring Required. The new name for the resource. The new name must be a valid name.

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.