There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Delete OAuth 2.0 Refresh Token

Last updated June 17, 2020

DELETE /oauth/v1/refresh-tokens/:token

Method Details

HTTP Methods:

DELETE

Response Format:

N/A

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Deletes a refresh token. You can use this to delete your refresh token if a user uninstalls your app.

Note: This will only delete the refresh token. Access tokens generated with the refresh token will not be affected.

Note: This will not uninstall an application from a HubSpot account or inhibit data syncing between an account and a connected application.

Required Parameters How to use Description
 Refresh token :token
Used in the request URL
The refresh token that you want to delete.

Optional Parameters How to use Description
None None No optional parameters for this method.