UpdateUserDevicesSharingStatus
Updates the sharing status of devices for multiple enterprise users.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
csas:UpdateUserDevicesSharingStatus |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeviceTags |
array |
Yes |
Collection of device IDs. |
|
|
string |
No |
Device ID. Values:
|
36efa42d-2c32-c4dc-e3fc-8541e33a**** |
|
| SharingStatus |
boolean |
Yes |
Indicates whether device sharing is enabled. Values:
Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
4D169859-A4F2-5EC8-853B-8447787C0D8A |
| Devices |
array<object> |
Device list. |
|
|
array<object> |
Device. |
||
| DeviceTag |
string |
Device ID. |
36efa42d-2c32-c4dc-e3fc-8541e33a**** |
| DeviceType |
string |
The operating system type of the device. Values:
Valid values:
|
Windows |
| DeviceModel |
string |
Device model. |
MacBookPro17,1 |
| DeviceVersion |
string |
Device operating system version. |
3.5.1 |
| Hostname |
string |
Device name. |
win10-64bit |
| Username |
string |
Username. |
王先生 |
| SaseUserId |
string |
User ID. |
su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d**** |
| Department |
string |
User's department. |
测试部 |
| InnerIP |
string |
Device private network IP address. |
192.168.XX.XX |
| SrcIP |
string |
Device logon IP address. |
11.49.XX.XX |
| Memory |
string |
Device memory capacity. Unit: GB. |
16 |
| CPU |
string |
Device CPU model. |
Apple M1 |
| Disk |
string |
Device disk model. |
APPLE SSD AP0512Q Media |
| Mac |
string |
Device MAC address. |
00:16:XX:XX:7c:46 |
| AppVersion |
string |
Client version. |
2.2.0 |
| DeviceBelong |
string |
Device ownership. Values:
Valid values:
|
Company |
| SharingStatus |
boolean |
Indicates whether device sharing is enabled. Values:
Valid values:
|
true |
| DeviceStatus |
string |
The status of the device. Values:
Valid values:
|
Online |
| AppStatus |
string |
The client status. Values:
Valid values:
|
Online |
| PaStatus |
string |
Private network access status. Values:
Valid values:
|
Enabled |
| IaStatus |
string |
Internet access status. Values:
Valid values:
|
Enabled |
| DlpStatus |
string |
Data protection status. Values:
Valid values:
|
Enabled |
| NacStatus |
string |
Network access control status. Values:
Valid values:
|
Enabled |
| CreateTime |
string |
Device registration time. |
2023-05-16 17:18:46 |
| UpdateTime |
string |
Device last online time. |
2023-08-24 19:04:42 |
| NetInterfaceInfo |
array<object> |
NIC list. |
|
|
object |
NIC. |
||
| Name |
string |
NIC name. |
eth0 |
| Mac |
string |
NIC MAC address. |
00:16:XX:XX:7c:46 |
Examples
Success response
JSON format
{
"RequestId": "4D169859-A4F2-5EC8-853B-8447787C0D8A",
"Devices": [
{
"DeviceTag": "36efa42d-2c32-c4dc-e3fc-8541e33a****",
"DeviceType": "Windows",
"DeviceModel": "MacBookPro17,1",
"DeviceVersion": "3.5.1",
"Hostname": "win10-64bit",
"Username": "王先生",
"SaseUserId": "su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****",
"Department": "测试部",
"InnerIP": "192.168.XX.XX",
"SrcIP": "11.49.XX.XX",
"Memory": "16",
"CPU": "Apple M1",
"Disk": "APPLE SSD AP0512Q Media",
"Mac": "00:16:XX:XX:7c:46",
"AppVersion": "2.2.0",
"DeviceBelong": "Company",
"SharingStatus": true,
"DeviceStatus": "Online",
"AppStatus": "Online",
"PaStatus": "Enabled",
"IaStatus": "Enabled",
"DlpStatus": "Enabled",
"NacStatus": "Enabled",
"CreateTime": "2023-05-16 17:18:46",
"UpdateTime": "2023-08-24 19:04:42",
"NetInterfaceInfo": [
{
"Name": "eth0",
"Mac": "00:16:XX:XX:7c:46"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.