Change the password 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
POST /user/password

On success the other login sessions of the user are logged out and their websockets closed; the session of the request and integration tokens (persistent tokens) stay valid.

application/json

Body Required

  • current_password string Required
  • new_password string Required

Responses

  • 200 application/json

    Password changed (message password_changed)

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
  • 400 application/json

    Rejected, same messages as /password/change

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
  • 503 application/json

    User portal not configured or unreachable (password_change_unavailable)

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
POST /user/password
curl \
 --request POST 'http://localhost:8080/user/password' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{
  "current_password": "string",
  "new_password": "string"
}'
Request examples
{
  "current_password": "string",
  "new_password": "string"
}
Response examples (200)
{
  "code": 42,
  "message": "string",
  "error": "string"
}
Response examples (400)
{
  "code": 42,
  "message": "string",
  "error": "string"
}
Response examples (401)
{
  "code": 42,
  "message": "string",
  "error": "string"
}
Response examples (503)
{
  "code": 42,
  "message": "string",
  "error": "string"
}