---
title: "Repair distributed accounts with data loss"
method: GET
path: "/force_dedistribution_from_node"
tags: ["Server Administration", "Server Nodes"]
---

# Repair distributed accounts with data loss

`GET /force_dedistribution_from_node`

This function converts cPanel accounts that use a given
[child node](https://go.cpanel.net/cPanelGlossary#child-node)
to use the local server instead.

Unlike the WHM API 1 `modifyacct` API call, this API does **not**
transfer users’ data from the child node as part of the conversion.
This API is useful for emergency repairs if, for example, a child
node goes permanently offline while accounts still use it.

**Warning:**

Because this API does not transfer users’ data from the child node,
all converted users will lose data. You should **only** call this API
as a last resort.

## Query parameters

- `node_alias` string, required
- `user` string[], required

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `log` object[] — Log entries that indicate the conversion’s progress.
      - `contents` string — The message content.
      - `indent` integer — The log message’s indent level.
      - `type` 'success' | 'out' | 'warn' | 'error' — The log level of the message. * `success` – A success message. * `out` – An informational message. * `warn` – A warning message. * `error` – An error message.
    - `user_info` object[] — Information about each newly-converted cPanel account.
      - `username` string, username — The cPanel account’s username.
  - `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` 0 | 1 — * `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)
