iam__UpdateAgency
Modify an existing IAM agency by updating its trusted account, duration, or description using the agency ID. Use it to keep delegated access permissions current.
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": "<agency>",
"agency_id": "<agency_id>"
},
"name": "iam__UpdateAgency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agency | Yes | 委托信息。 | |
| agency_id | Yes | 待修改的委托ID,获取方式请参见:[获取委托名、委托ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 |