[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Delete Environment V2

Description

Delete an environment

Request

Request

URL

URL


delete
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


Request Body

Request Body

DeleteEnvironmentRequestDTO Required

deleteEnvironmentRequestDTO

{
	"deleteFromInventory": false,
	"deleteFromVcenter": false,
	"deleteLbFromSddc": false,
	"deleteWindowsVMs": false
}
boolean
deleteFromInventory Optional

boolean
deleteFromVcenter Optional

boolean
deleteLbFromSddc Optional

boolean
deleteWindowsVMs Optional
Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns GenericRequestResponse of type(s) application/json
{
    "requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId Optional

Request ID


204 No Content

No Content

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X DELETE -H "Content-Type: application/json" -d '{"deleteFromInventory":false,"deleteFromVcenter":false,"deleteLbFromSddc":false,"deleteWindowsVMs":false}' https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}


Feedback

Was this page helpful?