---
title: "Moves an affiliate from one place in the tree to another."
method: POST
path: "/admin/mlm/move/{id}"
tags: ["multi-level"]
---

# Moves an affiliate from one place in the tree to another.

`POST /admin/mlm/move/{id}`

This also moves their downlines with them

## Request body

- object
  - `new_parent` string — Omit this if you want to disconnect parents from this affiliate

## Response `200`

- object
  - `id` string
  - `new_parent` string

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
