---
title: "Attach multiple people (sub accounts) to a master account"
method: POST
path: "/Ams/{ClientID}/PeopleBulkAttach"
tags: ["Ams"]
---

# Attach multiple people (sub accounts) to a master account

`POST /Ams/{ClientID}/PeopleBulkAttach`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/PeopleBulkAttach`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/PeopleBulkAttach/post.ts> (a function with typed inputs; its response is checked against the schema)

Attach multiple people (sub accounts) to a master account

## Path parameters

- `ClientID` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `AttachRequests` string
  - `UsingRedis` boolean
  - `AppInitTime` string, date-time
  - `ServerID` string
  - `ResponseStatus` string
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

## Response `200`

Success

- PeopleBulkAttachResponse: PeopleBulkAttachResponse
  - `flag` boolean
  - `Status` string
  - `Results` PeopleAttachResult[]
    - `PersonId` string
    - `MasterId` string
    - `Success` boolean
    - `Status` string
    - `Suspended` boolean
    - `Reason` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
