Artboard
FileMaker Files

Rename FM Files

POST
/otto/api/fm-file/rename

Request Body

POST /otto/api/fm-file/rename Request body

application/json
  1. body
copy?boolean
copyContainerData?boolean

If copy is true, copies the RC_Data_FMS container folder to the target (defaults to not copying). If copy is false (rename/move), the container folder is moved with the file unless this is explicitly false.

encryptionKey?string
fileName*string
newFileName*string
targetFolder?string

If copy is true, this will copy the file to the target folder. If copy is false, this will move the file to the target folder.

Value in"default""secure""additionalFolder1""additionalFolder2"
targetSubfolder?string

If copy is true, this will copy the file to the target subfolder. If copy is false, this will move the file to the target subfolder

Response Body

POST /otto/api/fm-file/rename Positive response

application/json
  1. response
messages*array<>
response*
Example Request
curl -X POST 'https://your.server.net/otto/api/fm-file/rename' \  -H 'Content-Type: application/json' \  -d '{  "fileName": "string",  "newFileName": "string"}'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?