ument.getElementById('loading').style.display = 'none';
            });
    }

    function requestApi(value) {
        document.getElementById('loading').style.display = 'flex';
        const data = {
            jwt: params.jwt,
            group_id: value,
        };

        fetch(params.url_unsubscribe, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json',
            },
            body: JSON.stringify(data),
        })
            .then(response => {