Clone a file

Path parameters

fileIdstringRequired
File ID

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
prefixstringOptional

The prefix for the cloned file (defaults to original name with “Copy of ” prefix)

Response

This endpoint returns an object.
dataobject
Any uploaded file of any type

Errors