{
"allowdeletion": 0,
"delFlag": "string",
"deptCheckStrictly": true,
"deviceList": [
{
"createdBy": "string",
"createdTime": "string",
"deviceId": "string",
"nodeType": 0,
"roleId": "string"
}
],
"flag": true,
"menuCheckStrictly": true,
"menuIds": [
"string"
],
"roleId": "string",
"roleKey": "string",
"roleName": "string",
"roleSort": 0,
"state": 0,
"status": "string",
"type": "string",
"userId": "string",
"videoControllerBallPower": {
"power": 0,
"roleId": "string"
}
}
curl --location --request PUT 'http://dev-cn.your-api-server.com/system/role/dataScope' \
--header 'Content-Type: application/json' \
--data-raw '{
"allowdeletion": 0,
"delFlag": "string",
"deptCheckStrictly": true,
"deviceList": [
{
"createdBy": "string",
"createdTime": "string",
"deviceId": "string",
"nodeType": 0,
"roleId": "string"
}
],
"flag": true,
"menuCheckStrictly": true,
"menuIds": [
"string"
],
"roleId": "string",
"roleKey": "string",
"roleName": "string",
"roleSort": 0,
"state": 0,
"status": "string",
"type": "string",
"userId": "string",
"videoControllerBallPower": {
"power": 0,
"roleId": "string"
}
}'
{
"code": 0,
"data": {},
"msg": "string"
}