POST
/
twitter
/
tweets
/
delete-batch
curl --request POST \
  --url https://api.twitterxapi.com/twitter/tweets/delete-batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cookie": "auth_token=abc123...",
  "username": "myusername",
  "target_id": "1234567890123456789"
}'
{
  "code": 200,
  "msg": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Parameters for deleting tweets

Response

200
application/json

Success confirmation

Tweet action response