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 a contact property group

Last updated May 31, 2023

DELETE /properties/v1/contacts/groups/named/:group_name

Method Details

HTTP Methods:

DELETE

Response Format:

N/A

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

crm.schemas.contacts.write

Delete an existing contact property group.
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.
Group Name Used in the request URL (see above) If you want to only have properties from a particular group returned to you, then you can specify a group name in your request. If you want to get properties from all groups returned to you, then you can simply omit this parameter from the request URL that you're using.
Optional Parameters How to use Description
None None None

Example URL to DELETE to:  http://api.hubapi.com/properties/v1/contacts/groups/named/invoicing

If the deletion was successful, you will receive a 204 No Content response.

Note This replaces the deprecated URL GET /contacts/v2/groups/named/:group_name