iam__AssociateAgencyWithProjectPermission
Grants an IAM agency project-level service permissions by associating it with a specified role, project, and agency ID. Use to delegate access for cloud services.
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>",
"project_id": "<project_id>",
"role_id": "<role_id>"
},
"name": "iam__AssociateAgencyWithProjectPermission"
}
}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)。 | |
| project_id | Yes | 委托方的项目ID,获取方式请参见:[获取项目名称、项目ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 |