---
title: "Sync LDAP mapping for a user"
method: POST
path: "/admin/ldap/users/{username}/sync"
tags: ["enterprise-admin"]
---

# Sync LDAP mapping for a user

`POST /admin/ldap/users/{username}/sync`

Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.

## Path parameters

- `username` string, required

## Response `201`

Response

- object
  - `status` string

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-5.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-5/versions/50ae54440071/schema)
