DELETE /2/tweets/:id
DELETE /2/tweets/:id
Allows a user or authenticated user ID to delete a Tweet.
Endpoint URL
https://api.x.com/2/tweets/:id
Authentication and rate limits
Authentication methods supported by this endpoint | OAuth 2.0 Authorization Code with PKCE OAuth 1.0a is also available for this endpoint. |
---|---|
Rate limit | User rate limit (User context): 50 requests per 15-minute window per each authenticated user |
OAuth 2.0 scopes required by this endpoint
|
Learn more about OAuth 2.0 Authorization Code with PKCE |
Path parameters
Name | Type | Description |
---|---|---|
id Required | string | The Tweet ID you are deleting. |
Example code with offical SDKs
TypeScript
Java
Example responses
Successful response
Response fields
Name | Type | Description |
---|---|---|
deleted | boolean | Indicates whether the specified Tweet has been deleted as a result of this request. The returned value is true for a successful delete request. |