---
title: "Sync a group with LDAP"
method: POST
path: "/api/v4/groups/{id}/ldap_sync"
tags: ["ldap"]
---

# Sync a group with LDAP

`POST /api/v4/groups/{id}/ldap_sync`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/groups/{id}/ldap_sync`
- Auth: none declared

Syncs a specified group with its linked LDAP group. You must be an administrator or have the Owner role for the group.

## Path parameters

- `id` integer, required

## Response `201`

Sync a group with LDAP

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
