Get the password expiration of the logged in user

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 /password/info

The info is read from the user portal at login and after a password change, so it needs a login with password (not SSO).

Responses

  • 200 application/json

    Password expiration info

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object
      Hide data attributes Show data attributes object
      • enabled boolean

        Password management is available (user portal configured)

      • expiration string(date-time) | null

        Null when the password never expires or the info is not known yet

      • expired boolean
      • updated_at string(date-time) | null

        When the info was read from the user portal; null if not read yet

      • refreshing boolean

        The info is being read again after a login and may be stale

      • policy object | null

        Password policy of the account provider

        Hide policy attributes Show policy attributes object | null
        • expiration object
          Hide expiration attributes Show expiration attributes object
          • enforced boolean
          • max_age integer
          • min_age integer
        • strength object
          Hide strength attributes Show strength attributes object
          • enforced boolean
          • history_length integer
          • password_min_length integer
          • complexity_check boolean
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
GET /password/info
curl \
 --request GET 'http://localhost:8080/password/info' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "code": 42,
  "message": "string",
  "data": {
    "enabled": true,
    "expiration": "2026-05-04T09:42:00Z",
    "expired": true,
    "updated_at": "2026-05-04T09:42:00Z",
    "refreshing": true,
    "policy": {
      "expiration": {
        "enforced": true,
        "max_age": 42,
        "min_age": 42
      },
      "strength": {
        "enforced": true,
        "history_length": 42,
        "password_min_length": 42,
        "complexity_check": true
      }
    }
  }
}
Response examples (401)
{
  "code": 42,
  "message": "string",
  "error": "string"
}