Artboard
FileMaker Files

Rename FM Files with FM Developer Tool

POST
/otto/api/fm-file/rename-dev-tool

Request Body

application/json

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

targetFolder?string
Value in"default" | "secure" | "additionalFolder1" | "additionalFolder2"
targetSubfolder?string
username?string
password?string
encryptionKey?string
regex?string
replacement?string
copyContainerData?boolean
sourceFiles*array<string>

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/fm-file/rename-dev-tool" \  -H "Content-Type: application/json" \  -d '{    "targetFolder": "default",    "username": "string",    "password": "string",    "sourceFiles": [      "string"    ]  }'
{
  "response": {
    "ok": true,
    "message": "string"
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}