मुख्य सामग्री पर जाएं
PUT
/
2
/
tweets
/
{tweet_id}
/
hidden
जवाब छिपाएँ
curl --request PUT \
  --url https://api.x.com/2/tweets/{tweet_id}/hidden \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "hidden": true
}'
{
  "data": {
    "hidden": true
  }
}

प्राधिकरण

Authorization
string
header
आवश्यक

The access token received from the authorization server in the OAuth 2.0 flow.

पथ पैरामीटर

tweet_id
string
आवश्यक

उस उत्तर की ID जिसे आप छिपाना या फिर से दिखाना चाहते हैं। इस Tweet का विशिष्ट पहचानकर्ता। इसे स्ट्रिंग के रूप में लौटाया जाता है, ताकि उन भाषाओं और टूल्स में जटिलताओं से बचा जा सके जो बड़े पूर्णांकों को संभाल नहीं सकते।

Pattern: ^[0-9]{1,19}$
उदाहरण:

"1346889436626259968"

बॉडी

application/json
hidden
boolean
आवश्यक

प्रतिक्रिया

अनुरोध सफल रहा।

data
object