Disable user 2FA (Super Admin only)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/nethesis/doc/nethcti-middleware/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "NethVoice - NethCTI middleware MCP server": {
    "url": "https://bump.sh/nethesis/doc/nethcti-middleware/mcp"
  }
}

Close
DELETE /admin/2fa/{username}

Disable 2FA for the user (e.g. lost device): the OTP secret and the recovery codes are removed and every user token is revoked, so every client has to log in again. It succeeds also when 2FA is not enabled.

Path parameters

  • username string Required

    Target user (case insensitive)

    Format should match the following pattern: ^[a-z0-9][a-z0-9._@-]*$.

Responses

  • 204

    2FA disabled

  • 400

    Invalid username

DELETE /admin/2fa/{username}
curl \
 --request DELETE 'http://localhost:8080/admin/2fa/{username}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"