Share via


Environments - Delete Environment By ID

Delete the environment by ID (Preview).
Delete the environment specified by ID.

DELETE https://api.powerplatform.com/environmentmanagement/environments/{environmentId}?api-version=2022-03-01-preview
DELETE https://api.powerplatform.com/environmentmanagement/environments/{environmentId}?ValidateOnly={ValidateOnly}&api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
environmentId
path True

string

The environment ID.

api-version
query True

string

The API version.

ValidateOnly
query

boolean

Boolean flag indicating to validate instead of executing the delete operation.

Responses

Name Type Description
200 OK

OK

Media Types: "text/plain", "application/json", "text/json"

Security

oauth2

Microsoft Entra ID OAuth2

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com

Scopes

Name Description
.default .default