@cli.register_custom_action('<STR_LIT>', ('<STR_LIT>',), ('<STR_LIT>',))<EOL><INDENT>@exc.on_http_error(exc.GitlabDeleteError)<EOL>def delete_ldap_group_link(self, cn, provider=None, **kwargs):<DEDENT>
path = '<STR_LIT>' % self.get_id()<EOL>if provider is not None:<EOL><INDENT>path += '<STR_LIT>' % provider<EOL><DEDENT>path += '<STR_LIT>' % cn<EOL>self.manager.gitlab.http_delete(path)<EOL>
Delete an LDAP group link.

        Args:
            cn (str): CN of the LDAP group
            provider (str): LDAP provider for the LDAP group
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabDeleteError: If the server cannot perform the request