Updated on 2022-02-21 GMT+08:00

Deleting an Environment

Function

This API is used to delete a specified environment.

This operation will cause the APIs published in the environment to become inaccessible to relevant apps and users. Ensure that you have notified users of the deletion or confirm that you insist on removing APIs from the deleted environment.

URI

The following table lists the HTTP/HTTPS request method and URI of the API.

Table 1 HTTP/HTTPS request method and URI

Request Method

URI

DELETE

/v1.0/apigw/envs/{id}

The following table lists the parameter in the URI.

Table 2 Parameter description

Parameter

Mandatory

Type

Description

id

Yes

String

Environment ID

Request

N/A

Response

N/A

Status Codes

Table 3 Status codes

Status Code

Description

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Server Internal Error