Return a cPanel account’s service proxying setup

This function reports a cPanel account's service proxying configuration.

SecurityBasicAuth
Request
query Parameters
username
required
string <username>

The cPanel account's username.

Example: username=example
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_service_proxy_backends
Request samples
whmapi1 --output=jsonpretty \
  get_service_proxy_backends \
  username='example'
Response samples
application/json
{
  • "data": {
    • "payload": [
      • {
        • "backend": "example.com",
        • "service_group": "Mail"
        }
      ]
    },
  • "metadata": {
    • "command": "get_service_proxy_backends",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}