Skip to main content
PUT
Update Webhook

Parámetros de ruta

string
requerido
ID del Webhook a actualizar (por ejemplo, whk_abc123).

Cuerpo de la solicitud

string
URL HTTPS actualizada del endpoint del Webhook.
string[]
Lista actualizada de tipos de eventos a los que suscribirse.
string
Secreto de firma actualizado. Debe comenzar con whsec_.

Ejemplo

Autorizaciones

X-API-Key
string
header
requerido

API key authentication. Keys are prefixed with awx_.

Parámetros de ruta

id
string
requerido

The webhook ID to update (e.g., whk_abc123).

Cuerpo

application/json
url
string<uri>

Updated HTTPS URL for the webhook endpoint.

events
string[]

Updated list of event types to subscribe to.

secret
string

Updated signing secret. Must start with whsec_.

Respuesta

Webhook updated successfully.

A registered webhook endpoint for receiving real-time event notifications.

id
string

Unique webhook identifier (e.g., whk_abc123).

url
string<uri>

HTTPS URL that receives webhook events.

events
string[]

List of subscribed event types.

status
enum<string>

Webhook status.

Opciones disponibles:
active,
inactive
created_at
string<date-time>

ISO 8601 creation timestamp.