userdata

Move or rename a userdata file

Renames or moves a file within the authenticated user's data directory.

post/api/userdata/{file}/move/{dest}

Path parameters

filestring required

Source file path

deststring required

Destination file path

Query parameters

overwriteboolean

Allow overwriting at destination

full_infoboolean

Return full file info in response

Headers

Comfy-Userstring

Identifies the active user in multi-user mode. Used for settings, userdata, and history isolation. This is not a security mechanism — it is an organisational convenience with no authentication behind it.

Response

File moved

OR
string required

Relative path of the written or moved file. Returned when full_info is absent or false.

Changes