set_user_two_factor_requirement
Enable or disable two-factor authentication enforcement for a specific Umami user account, letting self-hosted admins control whether 2FA is required for that user.
Instructions
Require or stop requiring 2FA for a user (self-hosted admin only)
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": {
"userId": "<userId>",
"required": "<required>"
},
"name": "set_user_two_factor_requirement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| required | Yes |