This function changes the home directory for a Web Disk account.
Important:
When you disable the Web Disk role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ WebDisk \ set_homedir \ user='example1@example.com' \ homedir='example1/'
{- "apiversion": 3,
- "func": "set_homedir",
- "module": "WebDisk",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}