curl --request PUT \
--url 'https://whapi.digyno.com/api/groups/%7BgroupId%7D' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"subject": "نام جدید گروه",
"name": "string",
"description": "قوانین گروه…"
}'