HOC SiteDocumentation

Move a file to another directory

Method: PATCH · Auth: bearer · Group: files

/api/v1/{locale}/{websiteId}/files/{fileId}

Request

  • Content-Type: application/json
{ "directoryId": "uuid|null" }

Schema

{
  "method": "PATCH",
  "path": "/api/v1/{locale}/{websiteId}/files/{fileId}",
  "contentType": "application/json",
  "bodyHint": "{ \"directoryId\": \"uuid|null\" }"
}

MCP tools