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 generator to delete. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.generators.delete
Query parameters
Parameters
force
boolean
This field has no effect for generators not being used. For generators 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 generator, as well as any references to the generator (i.e. [Generator][Fulfillment.generator]) in fulfillments.
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 is used to delete specific generators within the Dialogflow CX platform."],["The request must use the `DELETE` HTTP method directed to a URL that includes the generator's full path, identified by `name` in the URL path parameters."],["The `force` query parameter dictates whether the system should remove a used generator and any references to it, and is a boolean that can be set to true or false."],["The request body for deleting a generator must be empty, and a successful operation will return an empty JSON object."],["Authorization for this operation requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes."]]],[]]