This function lets you configure a cPanel account's service proxying.
Note:
unset_all_service_proxy_backends
function.string or string The hostname or IP address to assign as the server that handles the account's service proxy requests. This parameter defaults to the existing service proxy configuration, if one exists. | |
service_group | string The name of a service group for which to assign a proxy backend. The
corresponding
This parameter defaults to the existing setting, if one exists. Note:
service_group=Mail&service-group-1=Mail&service-group-2=Mail service_group=Mail |
string or string The hostname or IP address of the server to assign as the corresponding
This parameter defaults to the existing setting, if one exists. Note:
service_group_backend=mail.example.com&service_group_backend-1=mail.example1.com&service_group_backend-2=mail.example2.com service_group_backend=mail.example.com |
uapi --output=jsonpretty \ --user=username \ ServiceProxy \ set_service_proxy_backends
{- "apiversion": 3,
- "func": "set_service_proxy_backends",
- "module": "ServiceProxy",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}