iam__RemoveAllProjectsPermissionFromAgency
Removes all project-level service permissions from an IAM agency, enabling administrators to revoke an agency's access across projects in one call.
Instructions
[IAM] 该接口可以用于管理员移除委托的所有项目服务权限。
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": {
"agency_id": "<agency_id>",
"domain_id": "<domain_id>",
"role_id": "<role_id>"
},
"name": "iam__RemoveAllProjectsPermissionFromAgency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | 权限ID,获取方式请参见:[获取权限名、权限ID](https://support.huaweicloud.com/api-iam/iam_10_0001.html)。 | |
| agency_id | Yes | 委托ID,获取方式请参见:[获取委托名、委托ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 | |
| domain_id | Yes | 账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 |