> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/connecting/choosing-and-managing-connections-in-the-widget/show-disconnect-existing-connections.md).

# Can end users manage their own connections?

Yes. **Pass `show_disconnect: true` in the `/auth/generateWidgetSession` request body** alongside `reference_id` (it defaults to `false`).

Terra uses the `reference_id` to detect existing connections and shows a disconnect button for already-linked devices, instead of prompting Connect again. If your SDK's typed params don't include `show_disconnect`, send it via a direct API call or extend the params object.

As an API alternative:

* List a user's connected devices with the `/subscriptions` endpoint (keyed by `reference_id`).
* Disconnect with `/auth/deauthenticateUser`.

No custom UI is required if you use the [widget](https://docs.tryterra.co/health-and-fitness-api/user-authentication/implementation-terra-widget) option.
