---
title: "migrateUserToEndCustomerOps end_customer"
method: PUT
path: "/ops/end-customers/migrate-user/{user_id}"
tags: ["ops"]
---

# migrateUserToEndCustomerOps end_customer

`PUT /ops/end-customers/migrate-user/{user_id}`

ops endpoint to migrate one user to a different end customer

## Path parameters

- `user_id` string, regexp, required — end-user ID

## Request body

- MigrateUserPayload
  - `destination_id` string, regexp, required — Destination end-customer ID
  - `source_id` string, regexp — Source end-customer ID

## Response `200`

OK response.

## Other responses

- `400` — BadRequest: Bad Request response.
- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.

---

[API](https://skmtc.net/topi/apis/topi-public-api.md) · [All operations](https://skmtc.net/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topi/topi-public-api/versions/fa134b7fc959/schema)
