---
title: "replace the entire membership list"
method: PUT
path: "/{version}/{groupId}"
---

# replace the entire membership list

`PUT /{version}/{groupId}`

## Request

- Base URL: `https://localhost/midas/group`
- URL: `https://localhost/midas/group/{version}/{groupId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/usnistgov/apis/midas-group-management-service-gms-convention-grp0/docs/:version/:groupId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- union
  - string
  - string[]

## Response `200`

membership replaced

- string[]

---

[API](https://skmtc.dev/usnistgov/apis/midas-group-management-service-gms-convention-grp0.md) - [All operations](https://skmtc.dev/usnistgov/apis/midas-group-management-service-gms-convention-grp0/llms.txt) - [OpenAPI document](https://skmtc.dev/usnistgov/apis/midas-group-management-service-gms-convention-grp0/revisions/07b1b88e5191?raw)
