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