Sửa webhook
Sửa webhook
Cập nhật thông tin của một webhook đã đăng ký.
Scope yêu cầu: webhooks:manage.
Path parameters
webhookId
Headers
X-Api-Key
Request
This endpoint expects an object.
name
url
events
active
retryOnFailure
security
Phương thức xác thực đính kèm trong request mà hệ thống gửi tới URL webhook của bạn.
alerting
Cấu hình cảnh báo khi webhook liên tục gửi thất bại.
Response
Thành công.
webhookId
Mã webhook, dùng cho các endpoint sửa/xoá.
name
url
events
active
retryOnFailure
security
Giá trị nhạy cảm (apiKey, giá trị header tuỳ chỉnh) chỉ trả về đầy đủ khi type là API_KEY; với CUSTOM_HEADER chỉ trả về tên các header (headerKeys), không trả về giá trị.
alerting
Cấu hình cảnh báo khi webhook liên tục gửi thất bại.
createdAt
updatedAt
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error