---
title: "Transfer Group Member"
method: POST
path: "/userGroup2/transfer"
---

# Transfer Group Member

`POST /userGroup2/transfer`

Lets you transfer members from one group to another.

## Request body

- object
  - `leaveGroupId` integer, required — Group ID from which the customer needs to be removed. Ensure the the customer is a member of the group.
  - `joinGroupId` integer, required — Group ID to which the customer needs to join.
  - `userIds` integer[], required — Unique ID of the customers that you want to transfer to the new group.

## Response `200`

200

- object
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown
  - `success` boolean

## Other responses

- `400` — 400

---

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