6.11 Set Document name
POST https://{{domain}}/api/v2/document/{{DocumentGUID}}/name
Changes the name of an existing document. It will also update the FileName & FileExtension and the metadata of the resource with the highest version number (most recent).
Request
Query string parameters:
- DocumentGUID (guid, required)
Content-Type: application/json
JSON Object containing the new name of the document including the file extension. The extension in the FileSource is not changed. If the name ends with the extension of the FileSource then the stripped name is stored in the FileSource.Name else the provided name.
The Metadata item ‘Name’ of the current version FileSourceVersion is updated with the name as stored in FileSource.Name.
- Name (string; required): document name
Response
200 OK
"Document name data successfully changed"