Skip to main content
PUT
Update Webhook

Paramètres de chemin

string
requis
ID du Webhook à mettre à jour (par exemple, whk_abc123).

Corps de la requête

string
URL HTTPS mise à jour du point de terminaison Webhook.
string[]
Liste mise à jour des types d’événements auxquels s’abonner.
string
Secret de signature mis à jour. Doit commencer par whsec_.

Exemple

Autorisations

X-API-Key
string
header
requis

API key authentication. Keys are prefixed with awx_.

Paramètres de chemin

id
string
requis

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

Corps

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_.

Réponse

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.

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

ISO 8601 creation timestamp.