WebDisk
4 functions, invoked through the cpanel_uapi tool.
cpanel_uapi(service_id, module="WebDisk", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.delete_user GET#
Delete Web Disk account
This function deletes a Web Disk account.
Important:
When you disable the Web Disk role, the system disables this function.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
Payload varies by call.
set_homedir GET#
Update Web Disk home directory location
This function changes the home directory for a Web Disk account.
Important:
When you disable the Web Disk role, the system disables this function.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
Payload varies by call.
set_password GET#
Update Web Disk account password
This function changes the Web Disk account's password.
Important:
When you disable the Web Disk role, the system disables this function.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
Payload varies by call.
set_permissions GET#
Update Web Disk home directory permissions
This function changes the Web Disk home directory's permissions.
Important:
When you disable the Web Disk role, the system disables this function.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
Payload varies by call.