跳到主要内容

DeleteDevice

调用该接口delete device entity。

Request

post /devices/delete

Request Body

DescriptionTypeSchema
设备ID 数组Objectapidevicev1Ids

apidevicev1Ids

NameTypeDescription
idsArray[ string ]id 字符串数组

Response

Response 200

Code2DescriptionTypeSchema
200OKObjectv1DeleteDeviceResponse

v1DeleteDeviceResponse

NameTypeDescription
faildDelDeviceArray[v1FaildDelDevice]设备删除失败 数组 [ 具体参数可见下面 v1FaildDelDevice ]

v1FaildDelDevice

NameTypeDescription
idstring设备ID
reasonstring原因

Response default

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus

NameTypeDescription
codeinteger
detailsArray[protobufAny][ 具体参数可见下面 protobufAny ]
messagestring

protobufAny

NameTypeDescription
@typestring