Delete a webhook
post
https://api.chat-data.com/ api/ v2/ delete- webhook/ delete-webhookAny keyWorkspace or chatbot keyDeletesPermanent delete
Delete the webhook registered with the given URL, together with all of its event subscriptions. The response lists the chatbot's remaining webhooks. If no webhook matches url, nothing is deleted and the response is still 200 with the unchanged list.
Request body
Sending 2 of 2 fieldsRequired
chatbotIdstringurlstringOnly these fields are sent (application/json).