---
title: "Sign the current user out of HubSpot"
method: POST
path: "/api/integration/hubspot/user/revoke-token"
tags: ["User"]
---

# Sign the current user out of HubSpot

`POST /api/integration/hubspot/user/revoke-token`

## 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/integration/hubspot/user/revoke-token`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/integration/hubspot/user/revoke-token/post.ts> (a function with typed inputs; its response is checked against the schema)

Clears the current user's stored HubSpot tokens, so their next HubSpot export asks them to sign in again. Their HubSpot owner is kept. It does not revoke the token at HubSpot, because that would uninstall the app from the organization's HubSpot account. Requires integration-hubspot; the organization connection does not have to be working.

## Response `204`

The user is signed out of HubSpot.

## Other responses

- `400`: The user could not be signed out.
- `403`: Forbidden - missing integration-hubspot.

---

[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)
