Terminates multiple streaming connections by their UUIDs for the authenticated application.
curl --request DELETE \
--url https://api.x.com/2/connections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uuids": [
"<string>"
]
}
'{
"data": {
"failed_kills": 123,
"results": [
{
"error_message": "<string>",
"success": true,
"uuid": "<string>"
}
],
"successful_kills": 123
},
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of connection UUIDs to terminate
1 - 100 elementsThe request has succeeded.
Show child attributes
1An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).
Show child attributes
curl --request DELETE \
--url https://api.x.com/2/connections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uuids": [
"<string>"
]
}
'{
"data": {
"failed_kills": 123,
"results": [
{
"error_message": "<string>",
"success": true,
"uuid": "<string>"
}
],
"successful_kills": 123
},
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
]
}