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 webpage documents the process of deleting a specified entity type within the Dialogflow CX platform, which involves making a DELETE HTTP request to a designated endpoint."],["The deletion process requires providing the entity type's unique identifier (`name`) within the URL path, following the format `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/entityTypes/\u003cEntityTypeID\u003e`."],["The `force` query parameter allows for forced deletion of entity types, removing any references to them in the process, or will return an error if set to false when references exist."],["The request body must be empty, and a successful deletion will result in an empty JSON object in the response body."],["The operation requires the user to have the `dialogflow.entityTypes.delete` IAM permission and to be authorized through one of the specified OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]