---
title: "Remove cPanel account service proxying"
method: GET
path: "/unset_all_service_proxy_backends"
tags: ["Services"]
---

# Remove cPanel account service proxying

`GET /unset_all_service_proxy_backends`

This function removes a cPanel account's
[service proxying](https://go.cpanel.net/ServiceProxying).

**Note:**

* If the cPanel account is a [distributed account](https://go.cpanel.net/cPanelGlossary#distributed-cpanel-account),
this function will also unset **all** service proxying for the cPanel account on the
[child node](https://go.cpanel.net/cPanelGlossary#child-node).
* If the [Web Server](https://go.cpanel.net/howtouseserverprofiles#roles) role is active on
the server, this function rebuilds the cPanel user's web virtual hosts (vhosts) and restarts
the web server.
* If the system **cannot** rebuild the cPanel user's vhosts, the API call will still succeed.
However, the function returns a failure warning in the metadata.
* To set a service proxying for a cPanel account, use the WHM API 1
`set_service_proxy_backends` function.

## Query parameters

- `username` string, username, required

## Response `200`

HTTP Request was successful.

- object
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 1 | 0 — * `1` — Success. * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
