메인 콘텐츠로 건너뛰기
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