V2.5 Delete Device Group¶
Delete device groups.
Request Format¶
POST https://{apigw-address}/connect-service/v2.5/deviceGroups?action=deleteGroup
Request Parameters (URI)¶
Name |
Location (Path/Query) |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|---|
orgId |
Query |
Mandatory |
String |
The organization ID which the asset belongs to. How to get orgId>> |
Request Parameters (Body)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
groupId |
Mandatory |
String |
Device group ID. |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
code |
Number |
Return code of a request. |
msg |
String |
The explanation to the return code. Its value is |
requestId |
String |
A unique ID to identify a request. |
data |
String |
Device group ID. |
Samples¶
Request Sample¶
url:https://{apigw-address}/connect-service/v2.5/deviceGroups?action=deleteGroup&orgId=yourOrgId&groupId=yourGroupId
method: POST
Return Sample¶
responseBody:
{
"code": 0,
"msg": "OK",
"requestId": "0e28bb9c-b785-4545-856a-051178f3495d",
"data": "feVk2M8yeVCQ"
}