修改指定的分组功能模块
正式环境-定制共存包
https://api.oraydev.cn/sl/v1
正式环境-定制共存包
https://api.oraydev.cn/sl/v1
PUT
https://api.oraydev.cn/sl/v1
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 参数
Body 参数application/json