Required. The name of the environment to delete. / Format: - projects/<Project ID>/agent/environments/<Environment ID> - projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID>
Authorization requires the following IAM permission on the specified resource name:
dialogflow.environments.delete
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 endpoint allows for the deletion of a specified agent environment using a DELETE HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required to identify the environment to be deleted, following a specific format that includes project, location, and environment IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this operation.\u003c/p\u003e\n"],["\u003cp\u003eA successful deletion results in an empty JSON object response.\u003c/p\u003e\n"],["\u003cp\u003eDeleting an environment requires specific authorization permissions, either the \u003ccode\u003edialogflow.environments.delete\u003c/code\u003e IAM permission or one of the provided OAuth scopes.\u003c/p\u003e\n"]]],[],null,[]]