Move a customer to another reseller or to the provider, inside the new owner's allocation
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/customers/{cid}/transferMove a customer to another reseller or to the provider, inside the new owner's allocation (ADR 0087)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
cid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
to_tenant_idstring optionalEmpty for the provider
plan_idstring requiredpreviewboolean optional
Example
{
"to_tenant_id": "string",
"plan_id": "string",
"preview": true
}Responses
200 The customer after the move, or as it would be
Content type: application/json
object
customerobject optionalfrom_tenant_idstring requiredto_tenant_idstring requiredexceededarray<object> requiredappliedboolean required
Example
{
"customer": {},
"from_tenant_id": "string",
"to_tenant_id": "string",
"exceeded": [
{}
],
"applied": true
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required