Updated on 2024-11-26 GMT+08:00

Deleting a Single DCS Instance

Function

This API is used to delete a specified DCS instance to free up all resources occupied by the DCS instance.

URI

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

Table 1 describes the parameter.
Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Project ID. For details on how to obtain the value of this parameter, see Obtaining a Project ID.

instance_id

String

Yes

Instance ID.

Request

Request parameters

None

Example request

Request URL:

DELETE https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}

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 Table 1.

Table 2 Status code

Status Code

Description

204

DCS instances deleted successfully.