const response = await fetch('https://base_url/groups/removeParticipants?id=id', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"instance_key": "id",
"jid": "groupid",
"participants": [
"[email protected]"
]
}),
});
const data = await response.json();