Revoke user integration tokens (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/tokens/persistent/{username}/{audience}

Revoke the user tokens of the audience. With all, every user token is revoked (web, desktop and integrations) together with the session, so every client has to log in again. It succeeds also when there is nothing to revoke.

Path parameters

  • username string Required

    Target user (case insensitive)

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

  • audience string Required

    Integration token audience. all is accepted only by DELETE.

    Values are phone-island, mobile-app, nethlink, chat-island, or all.

Responses

  • 204

    Tokens revoked

  • 400

    Invalid username or audience

DELETE /admin/tokens/persistent/{username}/{audience}
curl \
 --request DELETE 'https://middleware.example.com/api/admin/tokens/persistent/{username}/{audience}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"