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

Deleting an Instance

Function

This API is used to delete an instance to release all the resources occupied by it.

URI

DELETE /v1.0/{project_id}/instances/{instance_id}

Table 1 describes the parameters.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Indicates the ID of a project.

instance_id

String

Yes

Indicates the instance ID.

Request

Request parameters

None.

Example request

None.

Response

Response parameters

None.

Example response

None.

Status Code

Table 2 describes the status code of successful operations. For details about other status codes, see Status Code.

Table 2 Status code

Status Code

Description

204

The instance is deleted successfully.