DELETE
/
2
/
connections
/
all
Terminate all connections
curl --request DELETE \
  --url https://api.x.com/2/connections/all \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "killed_connections": true
  },
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

The request has succeeded.

The response is of type object.