Get user 2FA status (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
GET /admin/2fa/{username}

Path parameters

  • username string Required

    Target user (case insensitive)

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

Responses

  • 200 application/json

    Whether 2FA is enabled for the user

    Hide response attribute Show response attribute object
    • status boolean
  • 400

    Invalid username

GET /admin/2fa/{username}
curl \
 --request GET 'https://middleware.example.com/api/admin/2fa/{username}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "status": true
}