iam__DeleteAgency
Deletes an IAM agency using its agency ID, helping administrators remove unused or unwanted delegations from Huawei Cloud IAM.
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>"
},
"name": "iam__DeleteAgency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agency_id | Yes | 待删除的委托ID,获取方式请参见:[获取委托名、委托ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 |