request_recovery_codes_reset
Initiates a recovery codes reset request for the authenticated user, requiring new codes on next login. Only works for the user's own account.
Instructions
Request recovery codes reset [POST /v1/users/{userId}/recovery-codes-reset-requests] Marks the user to generate new recovery codes on next login. Only for the own identity: the userId must be the subject of the access token.
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>"
},
"name": "request_recovery_codes_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The identifier of the user. | |
| x-trace-id | No | Identifier to trace group of requests. |