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 TransitionRouteGroup to delete. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID> or projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.transitionRouteGroups.delete
Query parameters
Parameters
force
boolean
This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page:
If force is set to false, an error will be returned with message indicating pages that reference the transition route group.
If force is set to true, Dialogflow will remove the transition route group, as well as any reference to it.
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-06-27 UTC."],[[["\u003cp\u003eThis page documents how to delete a specified TransitionRouteGroup within the Dialogflow CX API.\u003c/p\u003e\n"],["\u003cp\u003eThe deletion is performed via a DELETE HTTP request to the provided endpoint, which includes placeholders for project, location, agent, flow, and transition route group IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required to specify which TransitionRouteGroup to delete, and the request needs \u003ccode\u003edialogflow.transitionRouteGroups.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eforce\u003c/code\u003e query parameter can be used to force the deletion of a TransitionRouteGroup even if it is being referenced by other pages, and if force is false, an error will occur if the route group is in use.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will receive an empty JSON object, and the request 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 for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.agents.flows.transitionRouteGroups.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes the specified [TransitionRouteGroup](/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.transitionRouteGroups#TransitionRouteGroup).\n\nNote: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).\n\n### HTTP request\n\n`DELETE https://{endpoint}/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/cx/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]