Description
Deletes the information of an IDC.
Call instructions
Interface constraints
The caller must have the HOST_MANAGER permission.
Request path
DELETE /api/v2/compute/idcs/{idcId}
Request parameters
path:
Parameter |
Type |
Required |
Example value |
Description |
|---|---|---|---|---|
| idcId | Long | Yes | 100 | The ID of the IDC. |
Return result
Basic data structure
Parameter |
Type |
Description |
|---|---|---|
| successful | Boolean | Indicates whether the request is successful. |
| timestamp | Datetime | The timestamp when the server completes the request. |
| duration | Integer | The time taken by the server to process the request (in milliseconds). |
| status | Integer | An HTTP status code that conforms to the HTTP standard. |
| traceId | String | The Trace ID of the request, which is used to troubleshoot issues. |
| server | String | The address of the application service that responds to the request. |
Examples
Request example
DELETE /api/v2/compute/idcs/100
Return example
{
"duration": 41,
"server": "a83ad33525",
"status": 200,
"successful": true,
"timestamp": "2021-08-25T16:00:19.895+08:00",
"traceId": "c8e610e3b33a4b17"
}
