Delete Asset Tree¶
Delete an asset tree.
Operation Permissions¶
Required Authorization | Required Operation Permission |
---|---|
Asset Tree Service | Full Access |
Request Format¶
POST https://{apigw-address}/asset-tree-service/v2.1/asset-trees?action=delete
Request Parameters (URI)¶
Name | Location (Path/Query) | Required or Not | Data Type | Description |
---|---|---|---|---|
orgId | Query | true | String | Organization ID which the asset belongs to. How to get orgId>> |
treeId | Query | true | String | ID of the asset tree to be deleted. How to get asset tree ID>> |
Error Codes¶
Code | Description |
---|---|
99800 | There is child node under the root node of the asset tree. So, the asset tree can not be deleted. |