---
title: "Disconnect the HubSpot integration"
method: DELETE
path: "/api/organization/{organizationId}/integration/hubspot"
tags: ["Organization"]
---

# Disconnect the HubSpot integration

`DELETE /api/organization/{organizationId}/integration/hubspot`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/organization/{organizationId}/integration/hubspot`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/organization/:organizationId/integration/hubspot/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the organization's HubSpot connection and every per-user owner row, then revokes the refresh token with HubSpot. Requires integration-hubspot and account-administrator in that organization, or edit-organization.

## Path parameters

- `organizationId` integer, required

## Response `204`

The HubSpot integration was disconnected.

## Other responses

- `403`: Forbidden - missing the HubSpot settings permissions for this organization.

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
