iam__KeystoneListProjectsForUser
Lists the projects assigned to a specified IAM user, or lets an IAM user list their own projects.
Instructions
[IAM] 该接口可以用于管理员查询指定IAM用户的项目列表,或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": {
"user_id": "<user_id>"
},
"name": "iam__KeystoneListProjectsForUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | 待查询的IAM用户ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 |