All Products
Search
Document Center

:DeleteEdgeInstance

Last Updated:May 13, 2024

Deletes an edge instance.

Each Alibaba Cloud account can run a maximum of five queries per second (QPS).

Note RAM users of an Alibaba Cloud account share the quota of the account.

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 parameters

ParameterTypeRequiredExampleDescription
ActionStringYesDeleteEdgeInstance

The operation that you want to perform. Set the value to DeleteEdgeInstance.

InstanceIdStringYesF3APY0tPLhmgGtx0****

The ID of the edge instance. To obtain the instance ID, perform the following steps: Log on to the Link IoT Edge console. On the Edge Instances page, move the pointer over the name of the edge instance that you want to delete and obtain the instance ID.

You can also call the QueryEdgeInstance operation to query the instance ID.

IotInstanceIdStringNoiot_instc_pu****_c*-v64********

The ID of the Internet of Things (IoT) service instance. This parameter is not required for the public instance but required for Enterprise Edition instances.

In addition to the preceding operation-specific request parameters, you must specify common request parameters when you call this operation. For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeExampleDescription
CodeStringSuccess

The return code of the operation. A value of Success indicates that the call was successful. Other values indicate that specific errors occurred. For more information, see Error codes.

ErrorMessageStringrequest parameter error

The error message that is returned if the call failed.

RequestIdStringF29C33E5-BF22-48FE-9FEF-8A24146E3388

The ID of the request.

SuccessBooleantrue

Indicates whether the call was successful. A value of true indicates that the call was successful. A value of false indicates that the call failed.

Examples

Sample requests

http(s)://iot.cn-shanghai.aliyuncs.com/? Action=DeleteEdgeInstance
&InstanceId=3P0TbYAz5tKNAUSF****
&<Common request parameters>

Sample success responses

XML format

<DeleteEdgeInstanceResponse>
      <RequestId>F29C33E5-BF22-48FE-9FEF-8A24146E3388</RequestId>
      <Code>Success</Code>
      <Success>true</Success>
</DeleteEdgeInstanceResponse>

JSON format

{
  "RequestId": "F29C33E5-BF22-48FE-9FEF-8A24146E3388",
  "Code": "Success",
  "Success": true
}

Error codes

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