Method: Gitlab::Client::Groups#sync_ldap_group

Defined in:
lib/gitlab/client/groups.rb

#sync_ldap_group(id) ⇒ Array<Gitlab::ObjectifiedHash>

Sync group with LDAP

Examples:

Gitlab.sync_ldap_group(1)

Parameters:

  • id (Integer)

    The ID or name of a group.

Returns:


244
245
246
# File 'lib/gitlab/client/groups.rb', line 244

def sync_ldap_group(id)
  post("/groups/#{url_encode id}/ldap_sync")
end