Deletes a LDAP group link (for a specific LDAP provider if given)

        :param group_id: The ID of a group
        :param cn: The CN of a LDAP group
        :param provider: Name of a LDAP provider
        :return: True if success

def deleteldapgrouplink(self, group_id, cn, provider=None):
        """
        Deletes a LDAP group link (for a specific LDAP provider if given)

        :param group_id: The ID of a group
        :param cn: The CN of a LDAP group
        :param provider: Name of a LDAP provider
        :return: True if success
        """
        url = '{base}/{gid}/ldap_group_links/{provider}{cn}'.format(
            base=self.groups_url, gid=group_id, cn=cn,
            provider=('{0}/'.format(provider) if provider else ''))

        request = requests.delete(url, headers=self.headers, verify=self.verify_ssl)

        return request.status_code == 200