Help Center> ServiceStage> API Reference> Application Management APIs> Environments> Deleting an Environment Based on the Environment ID

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 Parameters

Request parameters

None

Response Parameters

Response parameters

None

Example

Example request

None

Example response

None

Status Code

Table 2 Status codes

HTTP Status Code

Description

204

OK

400

Bad Request

404

Not Found

500

Internal Server Error

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