Updated on 2024-03-05 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.

To delete pay-per-use resources, perform operations in this section. To unsubscribe from resources billed in yearly/monthly mode, see Unsubscribing from Yearly/Monthly Resources.

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.

instance_id

String

Yes

DCS 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.