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 entity type to delete. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.entityTypes.delete
Query parameters
Parameters
force
boolean
This field has no effect for entity type not being used. For entity types that are used by intents or pages:
If force is set to false, an error will be returned with message indicating the referencing resources.
If force is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type 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 entity type within a Dialogflow CX agent, using a DELETE HTTP request."],["The request requires a `name` path parameter, which is a string specifying the full resource name of the entity type to be deleted, and authorization for `dialogflow.entityTypes.delete` permission."],["An optional `force` query parameter controls whether deletion should proceed if the entity type is referenced elsewhere; when set to `true` references will be removed, otherwise an error will be raised."],["The request body should be empty, and a successful deletion will return an empty JSON object in the response body."],["Authorization requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope."]]],[]]