---
title: "Removing a Portal | Jetstack AI Docs"
description: "How to disconnect and remove a HubSpot portal from your Jetstack AI workspace, what gets deleted, and what is preserved."
url: "https://jetstack.ai/docs/account/portals/removing/"
---

# Removing a Portal

When you no longer need a portal connected to Jetstack AI — whether the client engagement has ended or the portal was connected by mistake — you can remove it from your Client Accounts list. Removal disconnects Jetstack AI’s OAuth access to the portal but does not delete assets you have already imported.

## How to Remove a Portal

1. Navigate to **Client Accounts** in the left sidebar.
2. Locate the portal you want to remove in the table.
3. Click the **Delete** icon (trash icon) in the Actions column, or click into the portal row and select **Remove**.
4. A confirmation dialog appears warning you about the consequences of removal. If the portal has associated assets, the dialog lists them.
5. Click **Confirm Remove** to proceed.

The portal is removed from your Client Accounts list immediately. Jetstack AI deletes the stored OAuth tokens and severs the connection.

## What Removal Deletes

When you remove a portal, the following are permanently deleted:

- **OAuth tokens** — The access and refresh tokens associated with this portal connection are deleted. Jetstack AI can no longer make API calls to this portal.
- **Portal entry** — The portal row is removed from the Client Accounts table.
- **Connection metadata** — The stored portal name, portal ID, connection type, and status indicator are cleared.

## What Removal Preserves

Removing a portal does **not** delete the following:

- **Imported assets** — Any assets you previously imported from this portal remain in your Jetstack AI asset library. They are fully independent of the portal connection once imported.
- **Deployment history** — Records of past deployments to or from this portal are retained in your [Activity history](https://jetstack.ai/docs/account/activity/details).
- **Audit reports** — Completed audit reports that were run against this portal are preserved. Published reports with shared links continue to be accessible.
- **Library assets** — Assets in your library that were deployed to this portal are not affected. The assets still exist in your library.

This design is intentional. The portal connection is a live API link to HubSpot. Your imported assets are stored copies in Jetstack AI’s database. Removing the link does not touch the stored copies.

## The Confirmation Dialog

The confirmation dialog provides context before you finalize the removal:

- **Portal name and ID** — Confirms which portal you are removing.
- **Associated asset count** — If you have imported assets from this portal, the dialog shows how many assets are associated with it.
- **Warning message** — States that the OAuth connection will be severed and you will need to re-authorize if you want to reconnect later.

The dialog requires an explicit confirmation click. There is no undo — if you want to use this portal again, you will need to go through the [full OAuth connection flow](https://jetstack.ai/docs/account/portals/oauth) again.

## Effect on the Target Portal

Removing a portal from Jetstack AI has **no effect on the HubSpot portal itself**:

- No assets are created, modified, or deleted in HubSpot.
- No settings are changed in HubSpot.
- The Jetstack AI app may still appear in HubSpot under **Settings > Integrations > Connected Apps** until you or a HubSpot admin removes it manually from that list.

If you want to fully sever the connection from both sides, remove the portal from Jetstack AI **and** remove Jetstack AI from the HubSpot portal’s Connected Apps settings.

## Reconnecting After Removal

If you remove a portal and later want to reconnect it, follow the standard [Adding a Portal](https://jetstack.ai/docs/account/portals/adding) flow. The portal is treated as a brand-new connection — there is no “restore” option. However, any assets previously imported from that portal are still in your library and will not be re-imported as duplicates unless you explicitly import them again.
