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

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required
Example:
tweet_id
string
required
Example:

Response

data
object
errors
object[]
Minimum length: 1