Updated on 2022-08-15 GMT+08:00

Deleting an Environment Based on the Environment ID

Function

This API is used to delete an environment based on the environment ID.

URI

DELETE /v2/{project_id}/cas/environments/{environment_id}

Table 1 Path parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Tenant's project ID.

environment_id

String

Yes

Environment ID.

Request

None

Response

None

Example

Example request

None

Example response

None

Status Code

Table 2 Status codes

Status Code

Description

204

OK

400

Bad Request

404

Not Found

500

Internal Server Error

Error Code

Error code must be in the format of SVCSTG.00100.[Error_ID]. Example: SVCSTG.00100400. See Error Codes of Application Management APIs.