Add LDAP group link

        :param id: The ID of a group
        :param cn: The CN of a LDAP group
        :param group_access: Minimum access level for members of the LDAP group
        :param provider: LDAP provider for the LDAP group (when using several providers)
        :return: True if success

def addldapgrouplink(self, group_id, cn, group_access, provider):
        """
        Add LDAP group link

        :param id: The ID of a group
        :param cn: The CN of a LDAP group
        :param group_access: Minimum access level for members of the LDAP group
        :param provider: LDAP provider for the LDAP group (when using several providers)
        :return: True if success
        """
        data = {'id': group_id, 'cn': cn, 'group_access': group_access, 'provider': provider}

        request = requests.post(
            '{0}/{1}/ldap_group_links'.format(self.groups_url, group_id),
            headers=self.headers, data=data, verify=self.verify_ssl)

        return request.status_code == 201