更新当前阿里云账号下自启动与防卸载策略。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| IsBoot | boolean | 否 | 是否开启自启动功能。 | true |
| IsAntiUninstall | boolean | 否 | 是否开启防卸载功能。 | true |
| AllowReport | boolean | 否 | 是否允许终端用户提交审批。 | true |
| WhitelistUsers | array | 否 | 白名单用户列表。 | |
| string | 否 | 白名单用户名。 | 王先生 | |
| UserGroupIds | array | 否 | 策略生效用户组 ID 列表。 | |
| string | 否 | 策略生效用户组 ID。 | usergroup-086bcf2d650b**** | |
| BlockContent | object | 否 | 客户端拦截弹窗展示内容。 | |
| BlockTextZh | object | 否 | 中文内容。 | |
| Title | string | 否 | 弹窗标题。 | 防卸载警告 |
| Content | string | 否 | 弹窗内容。 | 卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限! |
| MainButtonText | string | 否 | 弹窗主按钮文案。 | 去报备 |
| MinorButtonText | string | 否 | 弹窗副按钮文案。 | 我知道了 |
| BlockTextEn | object | 否 | 英文内容。 | |
| Title | string | 否 | 弹窗标题。 | Anti-Uninstall Warning |
| Content | string | 否 | 弹窗内容。 | After uninstalling, the device can no longer be used for company work, and it will lose access to the company's intranet! |
| MainButtonText | string | 否 | 弹窗主按钮文案。 | Report |
| MinorButtonText | string | 否 | 弹窗副按钮文案。 | Ignore |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "CB67D866-1E54-5106-89DF-6D70C73E5989",
"Strategy": {
"CreateTime": "2023-04-16 10:50:05",
"UpdateTime": "2024-06-14 10:17:14",
"IsBoot": true,
"IsAntiUninstall": true,
"AllowReport": true,
"WhitelistUsers": [
"王先生"
],
"UserGroupIds": [
"usergroup-086bcf2d650b****"
],
"PolicyId": "auto-boot-anti-uninstall-6f6cbf5f6605****",
"BlockContent": {
"BlockTextZh": {
"Title": "防卸载警告",
"Content": "卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!",
"MainButtonText": "去报备",
"MinorButtonText": "我知道了"
},
"BlockTextEn": {
"Title": "Anti-Uninstall Warning",
"Content": "After uninstalling, the device can no longer be used for company work, and it will lose access to the company's intranet!",
"MainButtonText": "Report",
"MinorButtonText": "Ignore"
}
},
"ReportProcessId": "approval-process-65c255598826****"
}
}错误码
访问错误中心查看更多错误码。
