Skip to content

删除设备

使用该接口在设备管理中删除一台设备

请求

项目
HTTP URLhttps://open.feishu.cn/open-apis/security_and_compliance/v2/device_records/:device_record_id
HTTP MethodDELETE
接口频率限制10 次/秒
支持的应用类型custom,isv
权限要求 调用该 API 所需的权限。开启其中任意一项权限即可调用security_and_compliance:device_record:write 新增、更新、删除设备

请求头

名称类型必填描述
Authorizationstringtenant_access_token 值格式:"Bearer access_token" 示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560" 了解更多:如何选择与获取 access token

路径参数

名称类型描述
device_record_idstring设备认证编码
示例值:"7089353870308032531"

响应

响应体

名称类型描述
codeint错误码,非 0 表示失败
msgstring错误描述
data\--

响应体示例

json
{
    "code": 0,
    "msg": "success",
    "data": {}
}

错误码

HTTP状态码错误码描述排查建议
5001780001Internal server error.内部接口处理失败。若无法解决请寻求客服帮助
4001780101Request param error.检查参数是否正确
4001780102The API is in beta testing. Please contact customer support to request beta access.联系服务提供方排查
4001785008The device is not found. Please check the parameter device_record_id.检查参数中设备编码是否存在

内容来源:飞书开放平台 · 自动爬取整理