Skip to main content

Rename a Resource

Summary

Changes the 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
namestringRequired. The new name for the resource. The new name must be a valid name.