Skip to main content
DELETE
/
communities
/
{id}
/
groups
/
{groupId}
Unlink a group from a community
curl --request DELETE \
  --url https://wsapi.chat/communities/{id}/groups/{groupId} \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Instance-Id: <x-instance-id>'
{
  "status": 400,
  "detail": "invalid request body"
}

Authorizations

X-Api-Key
string
header
required

Instance or customer-level API key. Either the instance's own API key or the customer's API key is accepted. Must be paired with the X-Instance-Id header to identify the target instance.

Headers

X-Instance-Id
string
default:{{instanceId}}
required

The ID of the WhatsApp instance to use

Path Parameters

id
string
required

Community JID

groupId
string
required

Group JID to unlink

Response

Group unlinked