---
title: "Modify group membership"
method: PUT
path: "/api/ldap/group"
tags: ["Group Management"]
---

# Modify group membership

`PUT /api/ldap/group`

Add or remove a user from a LDAP group

## Response `200`

Group membership modified successfully

- object
  - `success` boolean
  - `message` string

## Other responses

- `400` — Missing parameter or invalid action
- `500` — Failed to modify group membership

---

[API](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/versions/6db97cead8df/schema)
