Move or rename theme files
Moves a public/ file, or every file under a public/ folder (subfolders included), in one step.
Editable files keep their version history; uploaded files keep their content. Refused (422) when
the target path is taken, when a folder would move into itself, or for paths outside public/.
URLs follow the new path.
POST
/themes/{theme_id}/files/moveAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
theme_idstringrequiredRequest body
requiredapplication/jsonfromstringrequiredtostringrequiredResponses
200
The files moved
filesobject[]Show propertiesHide properties
Array of
objectfromstringtostringidstringstored_asstringAllowed:
templateasset401
Unauthorized
403
Access denied
422
The target is taken, the source doesn't exist, or the paths are not in public/