| 返回码 | 返回消息 | 描述 |
|---|---|---|
| 510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
| 511005 | 楼栋不存在 | |
| 511007 | 该楼栋下单元已存在,无法添加 | 单元名重复 |
| 511008 | 单元编号已经存在 | 单元编号重复 |
| 511059 | 租户信息不匹配 | 不能在其他租户的楼栋下新增单元 |
curl --location --request DELETE 'https://api2.hik-cloud.com/api/v1/estate/system/buildings/' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"buildingId": "string"
}'{
"code": 200,
"message": "操作成功"
}