FileMaker Files
Rename FM Files
POST
POST /otto/api/fm-file/rename Request body
application/json- body
copy?booleancopyContainerData?booleanIf 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?stringfileName*stringnewFileName*stringtargetFolder?stringIf 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?stringIf 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
POST /otto/api/fm-file/rename Positive response
application/json- response
messages*array<>response*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?