create_or_update_password_reset_method
Creates or updates a user's email or phone password reset method, with optional MFA reset support and updates to existing targets to avoid duplicates.
Instructions
Creates or updates a password reset method (either phone or email).
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": {
"userName": "<userName>",
"type": "<type>",
"target": "<target>"
},
"name": "create_or_update_password_reset_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of password reset, either 'email' or 'phone' | |
| target | Yes | Email address or phone number | |
| userName | Yes | Username | |
| description | No | Human-readable description | |
| allowMfaReset | No | Whether this method should allow a user's MFA to be reset as well (defaults to true) | |
| existingTarget | No | Target from list operation. If provided, update existing method matching target instead of creating a new one. |