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.
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.
Status Code  | Description  | 
|---|---|
204  | DCS instances deleted successfully.  |