const response = await fetch('https://base_url/groups/setGroupName?id=id', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"instance_key": "id",
"jid": "groupid",
"groupName": "Grup Hello 2"
}),
});
const data = await response.json();