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.

Remove Contact from Company

Last updated May 12, 2023

DELETE /companies/v2/companies/:companyId/contacts/:vid

Note: This endpoint is deprecated. Use the CRM Associations API to manage company associations.

Method Details

HTTP Methods:

DELETE

Response Format:

N/A

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

crm.objects.companies.write
crm.objects.contacts.write

Remove a contact from a company. Once complete the contact will not be associated to any company.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
Company ID Used in the request URL (see above) The ID of a company to add a contact to
Contact VID Used in the request URL (see above) The ID of a contact to add a company

If request is successful you'll receive a 204 response.