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 page to delete. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/Flows/<flowID>/pages/<PageID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.pages.delete
Query parameters
Parameters
force
boolean
This field has no effect for pages with no incoming transitions. For pages with incoming transitions:
If force is set to false, an error will be returned with message indicating the incoming transitions.
If force is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. [Target page][EventHandler.target_page] in event handlers or [Target page][TransitionRoute.target_page] in transition routes that point to this page will be cleared).
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 deletes a specified page within a Dialogflow CX flow, identified by its resource name."],["The request must be a DELETE request to the specified URL, with the page's name provided as a path parameter, following the format: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/Flows/\u003cflowID\u003e/pages/\u003cPageID\u003e`."],["The `force` query parameter, when set to `true`, allows the deletion of pages with incoming transitions by clearing those transitions; otherwise, an error is returned."],["The request body must be empty, and a successful deletion returns 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 scopes."]]],[]]