Saltar al contenido principal
DELETE
/
2
/
tweets
/
search
/
webhooks
/
{webhook_id}
Eliminar conexión de transmisión
curl --request DELETE \
  --url https://api.x.com/2/tweets/search/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "deleted": true
  },
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ]
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

webhook_id
string
requerido

El id del webhook que se vinculará a tu conjunto de reglas de FilteredStream. El identificador único de esta configuración de webhook.

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

"1146654567674912769"

Respuesta

La solicitud se ha completado correctamente.

data
object
errors
object[]
Minimum array length: 1

Un objeto HTTP Problem Details, tal como se define en el IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).