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
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Must be application/json.
Path parameters
The ID of the community to delete.
Body
The connected X account that owns the community. Must be a username you have connected to your Xquik account.
The name of the community. Required as a confirmation safeguard to prevent accidental deletion.
Response
{ "error": "invalid_input", "message": "Missing account or community_name confirmation" }
Missing account or community_name, or the community name does not match the actual community.{ "error": "unauthenticated", "message": "Missing or invalid API key" }
Missing or invalid API key.{ "error": "no_subscription", "message": "No active subscription" }
An active subscription is required. Subscribe from the dashboard.{ "error": "usage_limit_reached", "message": "Monthly usage quota exceeded" }
Your monthly usage quota has been exhausted. Usage resets at the start of each billing cycle.{ "error": "not_found", "message": "Community not found or you do not own it" }
The community does not exist, or the specified account is not its owner.
This action is permanent. The community and all its members will be removed. This cannot be undone.