Required. The name of the agent to delete all entities types for. Supported formats: - projects/<Project ID>/agent, - projects/<Project ID>/locations/<Location ID>/agent.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.entityTypes.batchDelete
Request body
The request body contains data with the following structure:
JSON representation
{"entityTypeNames": [string]}
Fields
entityTypeNames[]
string
Required. The names entity types to delete. All names must point to the same agent as parent.
Response body
If successful, the response body contains an instance of Operation.
[[["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-06-27 UTC."],[[["\u003cp\u003eThis method allows you to delete multiple entity types within a specified agent using a batch operation.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made via a \u003ccode\u003ePOST\u003c/code\u003e HTTP method to a specific endpoint, requiring a \u003ccode\u003eparent\u003c/code\u003e path parameter specifying the agent.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a JSON structure with an array of \u003ccode\u003eentityTypeNames\u003c/code\u003e, which are the names of the entity types to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThis operation is long-running and returns an \u003ccode\u003eOperation\u003c/code\u003e object that includes an empty \u003ccode\u003eStruct\u003c/code\u003e for metadata and an \u003ccode\u003eEmpty\u003c/code\u003e message for the response.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e OAuth scope, and the \u003ccode\u003edialogflow.entityTypes.batchDelete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,[]]