iam__UpdateLoginProtect
Updates an IAM user's login protection settings, enabling or disabling protection and setting the verification method to SMS, email, or MFA.
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": {
"login_protect": "<login_protect>",
"user_id": "<user_id>"
},
"name": "iam__UpdateLoginProtect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | 待修改登录保护状态信息的IAM用户ID。 | |
| login_protect | Yes |