Bật/Tắt Webhook
Bật/Tắt Webhook
Gộp chung 2 thao tác trạng thái theo action: enable (bật), disable (tắt). Cả hai đều đồng thời gỡ trạng thái chặn do lỗi (nếu có). Scope yêu cầu: webhook:write.
Path parameters
action
Allowed values:
Headers
X-Api-Key
Query parameters
id
Response
Thành công — body {status: "ENABLED" | "DISABLED"} tương ứng theo action.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
502
Bad Gateway Error