Terminates all streaming connections for a specific endpoint ID for the authenticated application.
curl --request DELETE \
--url https://api.x.com/2/connections/{endpoint_id} \
--header 'Authorization: Bearer <token>'{
"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.
The endpoint ID to terminate connections for.
filtered_stream, sample_stream, sample10_stream, firehose_stream, tweets_compliance_stream, users_compliance_stream, tweet_label_stream, firehose_stream_lang_en, firehose_stream_lang_ja, firehose_stream_lang_ko, firehose_stream_lang_pt, likes_firehose_stream, likes_sample10_stream, likes_compliance_stream The 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/{endpoint_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"failed_kills": 123,
"results": [
{
"error_message": "<string>",
"success": true,
"uuid": "<string>"
}
],
"successful_kills": 123
},
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
]
}