cURL
curl --request POST \ --url https://api.x.com/2/users/{id}/muting \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "target_user_id": "2244994945" }'
{ "data": { "muting": true }, "errors": [ { "detail": "<string>", "status": 123, "title": "<string>", "type": "<string>" } ] }
Causes the authenticated user to mute a specific User by their ID.
Show child attributes
1