Skip to main content
PUT
Update Webhook

Tham số đường dẫn

string
bắt buộc
ID Webhook cần cập nhật (ví dụ: whk_abc123).

Nội dung yêu cầu

string
URL HTTPS endpoint Webhook đã cập nhật.
string[]
Danh sách loại sự kiện đăng ký đã cập nhật.
string
Khóa ký đã cập nhật. Phải bắt đầu bằng whsec_.

Ví dụ

Ủy quyền

X-API-Key
string
header
bắt buộc

API key authentication. Keys are prefixed with awx_.

Tham số đường dẫn

id
string
bắt buộc

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

Nội dung

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

Phản hồi

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.

Tùy chọn có sẵn:
active,
inactive
created_at
string<date-time>

ISO 8601 creation timestamp.