There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

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.