curl --request DELETE \
--url https://api.hubapi.com/companies/v2/companies/{companyId}{
"companyId": 10444744,
"deleted": true
}Delete an existing company specified by ID. Returns JSON indicating whether or not the specified company was actually deleted. Since companies play a central role in the CRM, it’s recommended to only delete companies that your application has created.
curl --request DELETE \
--url https://api.hubapi.com/companies/v2/companies/{companyId}{
"companyId": 10444744,
"deleted": true
}Scope requirements
The number of records to return. Defaults to 100, has a maximum value of 250.
Used to page through the results. If there are more records in your portal than the limit parameter, you will need to use the offset returned in the first request to get the next set of results.
May be included multiple times. Used to include specific company properties in the results. By default, the results will only include the company ID, and will not include the values for any properties for your companies. Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties.Note: Companies that do not have a value set for a property will not include that property, even when you specify the property. A company without a value for the website property would not show the website property in the results, even with &properties=website in the URL.
May be included multiple times. Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value.
Returns any merge history if a company has been previously merged with another company record. Defaults to false.
Successful response
The response is of type object.