Deletes 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 uses only common request headers. For more information, see the topic about common request parameters.

Request syntax

POST /pop/v5/resource/delete_ecu HTTP/1.1

Request parameters

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

The unique ID of the ECU to be deleted.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Data String OK

The returned data that indicates whether the ECU is deleted. A value of OK indicates that the ECU is deleted.

Message String success

The returned message that indicates whether the call 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

XML format

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

JSON format

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

Error codes

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