X Write

Delete community

delete/x/communities/{id}

Path parameters

idstring required

Resource ID returned by the matching create or list endpoint.

Request body

accountstring required

X account (@username or ID) deleting the community

community_namestring required

Community name for confirmation

Example request

{
  "account": "@elonmusk",
  "community_name": "Tesla Fans"
}

Response

Success

successtrue required

Example response

{
  "success": true
}

Changes