批量删除组织

更新时间:2023-07-06 08:23:52下载pdf

本文介绍批量删除组织的 API。

接口描述

根据组织标识集合,批量删除组织信息。

接口地址

POST: /v1.0/iot-03/idaas/spaces/{space_id}/organizations/actions/batch-soft-delete

请求参数

参数名类型参数位置是否必填说明
space_idStringuritrue隔离空间 ID

body 说明

参数名类型参数位置是否必填说明
codeString true组织标识
nameString true组织名称
parent_codeString false父组织标识
remarkString false组织备注
owner_uidString true组织管理者

返回参数

参数名类型说明
resultBoolean批量删除结果

请求示例

POST: /v1.0/iot-03/idaas/spaces/1400335346549391440/organizations/actions/batch-soft-delete
[
  {
    "code": "Acode",
    "ownerUid": "AownerUid"
  },
  {
    "code": "Bcode",
    "ownerUid": "BownerUid"
  }
]

返回示例

{
    "result": true,
    "t": 1629272469492,
    "success": true
}

错误码

参考 错误码