{
  "opencollection": "1.0.0",
  "info": {
    "name": "GitHub Teams Mapping API",
    "version": "1.1.4"
  },
  "items": [
    {
      "info": {
        "name": "Mapping",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GitHub Update Ldap Mapping for Team",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}/api/v3/admin/ldap/teams/:team_id/mapping",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.9/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.9/rest/teams/teams/#create-a-team) endpoint to create a team with LDAP mapping."
        },
        {
          "info": {
            "name": "GitHub Sync Ldap Mapping for Team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/admin/ldap/teams/:team_id/sync",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              }
            ]
          },
          "docs": "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."
        }
      ]
    }
  ],
  "bundled": true
}