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 an object type

Last updated June 17, 2020

DELETE /extensions/sales-objects/v1/object-types/:object-type-id

Method Details

HTTP Methods:

DELETE

Response Format:

N/A

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Developer Tools

Required Scope:

integration-sync

Delete an existing object type.
Required Parameters How to use Description
Developer HAPIkey hapikey=
used in the request URL
Your Developer HAPIkey. This must be a Developer HAPIkey associated with the Developer portal that the OAuth app was created in.
Object type id :object-type-id
used in the request URL
The id of the object type you want to delete.

Returns a 204 No Content response on success.