Delete Webhook
The deleteWebhook method is used to remove configured webhookURL.
Request Format#
You need to send a POST request to:
https://yoai.yophone.com/api/pub/deleteWebhookRequest example#
curl -X POST https://yoai.yophone.com/api/pub/deleteWebhook \-H "Content-Type: application/json" \-H "X-YoAI-API-Key: your YoAI api key"
Success Response#
The API returns a JSON object indicating the success of the operation.
{ "code": 200, "success": true, "data": null}Failure Response#
The API returns a JSON object indicating the success of the operation.
{ "code": 200, "success": false, "message": "failed to delete webhook URL"}