Chuyển đến nội dung chính
DELETE
/
api
/
v1
/
webhooks
/
{id}
Delete Webhook
curl --request DELETE \
  --url https://api.agentwallex.com/api/v1/webhooks/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "deleted": true
}

Tham số đường dẫn

id
string
bắt buộc
ID Webhook cần xóa (ví dụ: whk_abc123).

Ví dụ

curl -X DELETE https://api.agentwallex.com/api/v1/webhooks/whk_abc123 \
  -H "X-API-Key: awx_your_api_key"

Ủ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 delete (e.g., whk_abc123).

Phản hồi

Webhook deleted successfully.

id
string

The deleted webhook ID.

deleted
boolean

Confirmation of deletion.