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 descriptionParameter
|
Type
|
Mandatory
|
Description
|
project_id
|
String
|
Yes
|
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 codeStatus Code
|
Description
|
204
|
DCS instances deleted successfully.
|