Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
Required. The name of the webhook to delete. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.webhooks.delete
Query parameters
Parameters
force
boolean
This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups:
If force is set to false, an error will be returned with message indicating the referenced resources.
If force is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-15 UTC."],[[["This endpoint allows the deletion of a specified webhook using a DELETE HTTP request to a designated URL, including necessary parameters in the path."],["The `name` path parameter is required, specifying the webhook's full resource name, and requires `dialogflow.webhooks.delete` IAM permission for authorization."],["An optional query parameter, `force`, determines whether Dialogflow will forcibly delete a webhook, and its references, even if it's in use, otherwise an error will be returned."],["The request body for this operation must be empty, and a successful deletion will return an empty JSON object as the response body."],["Authorization for this request requires one of two specified OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]