Clear Sub-Account Authorization Policy Documentation - Imou Open Platform
clearPolicy: Clear sub-account authorization policy
Function details
Delete all authorization policies of the sub-account, but do not delete the sub-account
Request address
https://openapi-[DataCenter].easy4ip.com/openapi/clearPolicy
Incoming parameter description
| Parameter name | Parameter type | Required or not | Default value | Legal value | Parameter description |
|---|---|---|---|---|---|
| openid | String | Yes | Sub-account ID | ||
| token | String | Yes | Administrator accessToken |
Sample input
{
"system":{
"ver":"1.0",
"appId":"lcdxxxxxxxxx",
"sign":"4bb5d3c71ce5df93592358d3d0d4a944",
"time":1603350473,
"nonce":"a4d59add-0f04-4b7e-9355-d1fb4e9dc22b"
},
"id":"d82a7fa7-655f-4bb8-ab75-72bb3dfa3a94",
"params":{
"openid": "66111c116392406e9393ecee042c66c7",
"token": "At_0000cc8b90811e774a10816d75c27998"
}
}
Return data field description
No data returned
Sample output
{
"id": "123456",
"result": {
"code": "0",
"msg": "The operation was successful"
}
}
