workspace__UpdateAppAuthorizations
Sets or updates application authorizations for Huawei Cloud Workspace apps, adding or removing users and user groups by account type within a project.
Instructions
[WORKSPACE] 设置应用授权。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>",
"authorization_type": "<authorization_type>",
"project_id": "<project_id>"
},
"name": "workspace__UpdateAppAuthorizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users | No | 新增授权用户列表,一次请求数量区间 [0, 100]。 | |
| app_id | Yes | 应用ID。 | |
| del_users | No | 取消授权用户列表,一次请求数量区间 [0, 100]。 | |
| project_id | Yes | 项目ID。 | |
| authorization_type | Yes | * `ALL_USER` - 全部用户 |