Skip to main content
DELETE
/
x
/
communities
/
{id}
Delete community
curl --request DELETE \
  --url https://api.example.com/x/communities/{id} \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account": "<string>",
  "community_name": "<string>"
}
'
10 credits per call · All plans from $0.00012/credit
curl -X DELETE https://xquik.com/api/v1/x/communities/1893726451023847424 \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "myxhandle",
    "community_name": "Crypto Traders Hub"
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Path parameters

id
string
required
The ID of the community to delete.

Body

account
string
required
The connected X account that owns the community. Must be a username you have connected to your Xquik account.
community_name
string
required
The name of the community. Required as a confirmation safeguard to prevent accidental deletion.

Response

success
boolean
Always true on success.
{
  "success": true
}
This action is permanent. The community and all its members will be removed. This cannot be undone.
Related endpoints: Create Community to create a new community, Join Community to join an existing community, Leave Community to leave a community.