Artboard
File notes

Remap a file note to a new filename

Remap File Note

Updates the filename mapping for an existing note.

PATCH
/otto/api/file-notes/{filename}/remap

Path Parameters

filename*string

PATCH /otto/api/file-notes/:filename/remap Parameter

Request Body

application/json

PATCH /otto/api/file-notes/:filename/remap Request body

new_filename*string

Response Body

application/json

application/json

curl -X PATCH "https://your.server.net/otto/api/file-notes/string/remap" \  -H "Content-Type: application/json" \  -d '{    "new_filename": "string"  }'
{
  "response": {},
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}