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 allows for the deletion of a specified page using a DELETE HTTP request."],["The `name` path parameter is required, representing the full resource name of the page to be deleted, following a specific format including the project, location, agent, flow, and page IDs."],["The `force` query parameter determines the behavior when deleting pages with incoming transitions: when false an error will be returned, when true the page and its incoming transitions will be deleted."],["The request body for this operation must be empty, and a successful deletion results in an empty JSON object response."],["Authorization for this endpoint requires specific OAuth scopes, either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]