Saltar al contenido principal
PUT
/
2
/
tweets
/
{tweet_id}
/
hidden
Ocultar respuesta
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
  }
}

Documentation Index

Fetch the complete documentation index at: https://generaltranslation.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

tweet_id
string
requerido

El id de la respuesta que quieres ocultar o mostrar. Identificador único de este Tweet. Se devuelve como cadena para evitar complicaciones con lenguajes y herramientas que no pueden manejar enteros de gran tamaño.

Pattern: ^[0-9]{1,19}$
Ejemplo:

"1346889436626259968"

Cuerpo

application/json
hidden
boolean
requerido

Respuesta

La solicitud se ha completado correctamente.

data
object