向日葵开放API
贝锐企业+试用向日葵企业管理平台
贝锐企业+试用向日葵企业管理平台
  1. 企业子账号管理
  • 📃 简介
  • 🌐 管理平台API
    • 开发者必读
      • 流程概述
      • 接入准备
      • 平台签名校验
      • 用户身份校验
      • 错误码对照表
    • 用户身份授权API
      • 身份授权
      • 续租授权
    • 核心服务API
      • 设备信息管理
        • 创建/取消主机授权
        • 获取主机列表
        • 获取单个主机基本信息
        • 修改主机
        • 删除主机
        • 查询主机状态
      • 审计日志查询
        • 查询远程日志列表
        • 查询被控端(上下线)日志列表
        • 查询被控日志
        • 查询控制端最近登录日志
        • 查询文件传输日志
        • 查询操作日志
      • 资产信息查询
        • 查询IT资产列表
        • 根据资产ID查询是否有变更数据
        • 查询IT资产变更历史
      • 坐席服务管理
        • 新增坐席成员
        • 更新坐席成员
        • 查询坐席成员-列表
        • 删除坐席星标客户
        • 删除坐席成员
        • 强制下线-坐席成员
        • 查询坐席星标客户-列表
        • 查询坐席日志
      • 设备分组管理
        • 查询主机关联的分组
        • 创建主机与分组的关联
        • 创建分组
        • 删除主机与分组的关联
        • 修改分组
        • 删除分组
        • 查询分组的列表
      • 企业子账号管理
        • 子账号身份授权
          POST
        • 修改子账号信息
          PUT
        • 创建企业子账号
          POST
        • 删除企业子账号
          DELETE
        • 查询子账号列表
          GET
        • 获取指定子账号信息
          GET
        • 查询账号分组的功能模块列表
          GET
        • 修改指定的分组功能模块
          PUT
        • 获取角色分组列表
          GET
        • 新增角色分组
          POST
        • 更新角色分组
          PUT
        • 删除角色分组
          DELETE
        • 获取组织部门列表
          GET
        • 创建部门
          POST
        • 修改部门
          PUT
        • 删除部门
          DELETE
        • 获取功能模块列表
          GET
        • 修改企业账号密码
          PUT
    • 硬件API
      • 获取插座用电量
      • 开关插座
      • 获取插座状态
  • 💻 客户端本地API
    • 开发者必读
      • 接入指南
    • 服务端API
      • 开发指南
        • 如何调用服务端API
        • 服务端API错误码对照表
      • 获取访问凭证
        • 获取客户端API访问凭证
    • 客户端API
      • 开发指南
        • 如何调用客户端API
        • 客户端API报文加解密流程
        • 客户端API错误码对照表
      • 向日葵企业主控端能力
        • 主控端调起协议
        • 指定设备ID/识别码发起远控
        • 在设备列表中定位指定设备ID并发起远控
        • 检测应用程序是否存活
      • 向日葵企业被控端能力
        • 获取当前设备信息
    • 参考
      • 调用过程及示例代码
  1. 企业子账号管理

修改指定的分组功能模块

正式环境-定制共存包
https://api.oraydev.cn/sl/v1
正式环境-定制共存包
https://api.oraydev.cn/sl/v1
PUT
https://api.oraydev.cn/sl/v1
/enterprise/role-groups/{groupid}/acl
EnterpriseService
先查询该分组的功能模块列表,修改对应的功能模块后,再把模块列表回传
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.oraydev.cn/sl/v1/enterprise/role-groups/168/acl' \
--header 'Authorization: Bearer ${access_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "group_id": 0,
    "function": {
        "batchdeploy::DeleteDeployPackage": {
            "target_id": "string",
            "allow": true
        },
        "batchdeploy::ExportDeployRemote": {
            "target_id": "string",
            "allow": true
        },
        "batchdeploy::GetPackages": {
            "target_id": "string",
            "allow": true
        },
        "control_perm::RemoteAssistance": {
            "target_id": "string",
            "allow": true
        },
        "customize::CreateCustomize": {
            "target_id": "string",
            "allow": true
        },
        "customize::DeleteCustomize": {
            "target_id": "string",
            "allow": true
        },
        "customize::ExportCustomize": {
            "target_id": "string",
            "allow": true
        },
        "customize::GetCustomizes": {
            "target_id": "string",
            "allow": true
        },
        "customize::UpdateCustomize": {
            "target_id": "string",
            "allow": true
        },
        "customize::UpgradeCustomize": {
            "target_id": "string",
            "allow": true
        },
        "customize::manageCustomize": {
            "target_id": "string",
            "allow": true
        },
        "remote::CreateRemoteUser": {
            "target_id": "string",
            "allow": true
        },
        "remote::DeleteRemoteUser": {
            "target_id": "string",
            "allow": true
        },
        "remote::GetRemotes": {
            "allow": true,
            "target_id": "string"
        },
        "remote::ManageRemote": {
            "allow": true,
            "target_id": "string"
        },
        "remote::ManageTag": {
            "target_id": "string",
            "allow": true
        },
        "remote::UpdateConfig": {
            "target_id": "string",
            "allow": true
        },
        "remotely::Chat": {
            "target_id": "string",
            "allow": true
        },
        "remotely::CmdSsh": {
            "target_id": "string",
            "allow": true
        },
        "remotely::CutAndPasteFile": {
            "target_id": "string",
            "allow": true
        },
        "remotely::CutAndPasteText": {
            "target_id": "string",
            "allow": true
        },
        "remotely::DesktopControl": {
            "target_id": "string",
            "allow": true
        },
        "remotely::DesktopViewing": {
            "target_id": "string",
            "allow": true
        },
        "remotely::EditorFile": {
            "target_id": "string",
            "allow": true
        },
        "remotely::PrivacyScreen": {
            "target_id": "string",
            "allow": true
        },
        "remotely::RDP": {
            "target_id": "string",
            "allow": true
        },
        "remotely::ReceiveFile": {
            "target_id": "string",
            "allow": true
        },
        "remotely::RemoteCamera": {
            "target_id": "string",
            "allow": true
        },
        "remotely::RemoteFile": {
            "target_id": "string",
            "allow": true
        },
        "remotely::RemoteManagement": {
            "target_id": "string",
            "allow": true
        },
        "remotely::RemotePrint": {
            "target_id": "string",
            "allow": true
        },
        "remotely::Restart": {
            "target_id": "string",
            "allow": true
        },
        "remotely::Screenshot": {
            "target_id": "string",
            "allow": true
        },
        "remotely::SendFile": {
            "target_id": "string",
            "allow": true
        },
        "remotely::ShutDown": {
            "target_id": "string",
            "allow": true
        },
        "remotely::StartingUp": {
            "target_id": "string",
            "allow": true
        },
        "remotely::Video": {
            "target_id": "string",
            "allow": true
        },
        "remotely::Voice": {
            "target_id": "string",
            "allow": true
        },
        "security::UpdateSecurityLogin": {
            "allow": true,
            "target_id": "string"
        },
        "user::GetUsers": {
            "allow": true,
            "target_id": "string"
        }
    }
}'
响应示例响应示例
{}

请求参数

Path 参数
groupid
string 
角色组ID
必需
示例值:
168
Header 参数
Authorization
string 
必需
需要用子账号身份授权获取到的access_token
示例值:
Bearer ${access_token}
Body 参数application/json
group_id
integer 
必需
function
object 
必需
batchdeploy::DeleteDeployPackage
object 
必需
batchdeploy::ExportDeployRemote
object 
必需
batchdeploy::GetPackages
object 
必需
control_perm::RemoteAssistance
object 
必需
customize::CreateCustomize
object 
必需
customize::DeleteCustomize
object 
必需
customize::ExportCustomize
object 
必需
customize::GetCustomizes
object 
必需
customize::UpdateCustomize
object 
必需
customize::UpgradeCustomize
object 
必需
customize::manageCustomize
object 
必需
remote::CreateRemoteUser
object 
必需
remote::DeleteRemoteUser
object 
必需
remote::GetRemotes
object 
必需
remote::ManageRemote
object 
必需
remote::ManageTag
object 
必需
remote::UpdateConfig
object 
必需
remotely::Chat
object 
必需
remotely::CmdSsh
object 
必需
remotely::CutAndPasteFile
object 
必需
remotely::CutAndPasteText
object 
必需
remotely::DesktopControl
object 
必需
remotely::DesktopViewing
object 
必需
remotely::EditorFile
object 
必需
remotely::PrivacyScreen
object 
必需
remotely::RDP
object 
必需
remotely::ReceiveFile
object 
必需
remotely::RemoteCamera
object 
必需
remotely::RemoteFile
object 
必需
remotely::RemoteManagement
object 
必需
remotely::RemotePrint
object 
必需
remotely::Restart
object 
必需
remotely::Screenshot
object 
必需
remotely::SendFile
object 
必需
remotely::ShutDown
object 
必需
remotely::StartingUp
object 
必需
remotely::Video
object 
必需
remotely::Voice
object 
必需
security::UpdateSecurityLogin
object 
必需
user::GetUsers
object 
必需
示例

返回响应

🟢200成功
application/json
成功
Body
object {0}
上一页
查询账号分组的功能模块列表
下一页
获取角色分组列表
Built with