POST v1/digitalfiles/{id}/rename

This method requires authentication.

Renames a DigitalFile.

Request Information


NameDescriptionAdditional information
id ID of the DigitalFile to rename.

Define this parameter in the request URI.

renameRequest Object containing the old name and new name of the file.

Define this parameter in the request body.

Request body formats

application/json, text/json

  "oldName": "sample string 1",
  "newName": "sample string 2"

application/xml, text/xml

<DigitalFileRenameRequest xmlns:i="" xmlns="">
  <NewName>sample string 2</NewName>
  <OldName>sample string 1</OldName>