Skip to main content
DELETE
/
2
/
tweets
/
{id}
Delete Post
curl --request DELETE \
  --url https://api.x.com/2/tweets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "deleted": true
  },
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required
Example:

Response

data
object
errors
object[]
Minimum length: 1