Method: Gitlab::Client::Groups#delete_ldap_group_links

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

Delete LDAP group link

Examples:

Gitlab.delete_ldap_group_links(1, 'all')

Parameters:

  • id (Integer)

    The ID of a group

  • cn (String)

    The CN of a LDAP group

Returns:

[View source]

270
271
272
# File 'lib/gitlab/client/groups.rb', line 270

def delete_ldap_group_links(id, commonname, provider)
  delete("/groups/#{url_encode id}/ldap_group_links/#{url_encode provider}/#{url_encode commonname}")
end