Reload profiles and users configuration (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
POST /admin/reload/profiles

Trigger a global reload of profiles and users configuration from the configured JSON files. This endpoint is intended for super-administrators and will call the internal reload routine to refresh in-memory profiles and users without restarting the service.

Responses

  • 200 application/json

    Profiles reloaded successfully

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

      Additional properties are allowed.

  • 500 application/json

    Internal server error when reload fails

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
POST /admin/reload/profiles
curl \
 --request POST 'http://localhost:8080/admin/reload/profiles' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "code": 200,
  "message": "profiles reloaded successfully",
  "data": {}
}
Response examples (500)
{
  "code": 500,
  "message": "failed to reload profiles",
  "data": "parse profiles: invalid character 'i'"
}