This API is used to release a DeH.
A DeH accommodating ECSs cannot be released.
DELETE /v1.0/{project_id}/dedicated-hosts/{dedicated_host_id}
Table 1 describes the parameters.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Specifies the project ID. For details about how to obtain the project ID, see Obtaining Required Information. |
dedicated_host_id |
String |
Yes |
Specifies the DeH ID. You can obtain the DeH ID from the DeH console or using the Querying DeHs API. |
Error Code |
Description |
---|---|
409 Conflict |
A DeH accommodating ECSs cannot be released. |
For more status codes, see Status Codes.