You can call this operation to delete an Elastic Compute Unit (ECU).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

POST /pop/v5/resource/delete_ecu HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
EcuId String Yes 5c0b8c82-4ba9-****-****-130a34ffa534

The ID of the ECU that you want to delete.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

Data String OK

The data returned, which indicates whether the operation is successful. The value OK indicates that the operation is successful.

RequestId String fb08fd29-b197-40ab-9155-7ca7

Examples

Sample requests

POST /pop/v5/resource/delete_ecu HTTP/1.1
Common request headers
{
  "EcuId": "5c0b8c82-4ba9-****-****-130a34ffa534"
}

Sample success responses

JSON format

{
	"Data": "OK",
	"Message": "success",
	"Code": 200
}

XML format

<Data>OK</Data>
<Message>success</Message>
<Code>200</Code>

Error codes

For a list of error codes, visit the API Error Center.