Method: projects.agent.environments.delete

Deletes the specified agent environment.

HTTP request

DELETE https://{endpoint}/v2beta1/{name=projects/*/agent/environments/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters



Required. The name of the environment to delete. / Format: - projects/<Project Number / ID>/agent/environments/<Environment ID> - projects/<Project Number / 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 empty.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.