Skip to content
HubSpot Developer Changelog

Two updates to the CRM schemas API

The CRM schemas API lets you define custom objects in the CRM to represent data that might not otherwise have a place in HubSpot. Today we are announcing two changes under our breaking change policy.

What’s changing?

First, we are announcing the deprecation of the portalId field returned from the PATCH /crm-object-schemas/v3/schemas/ endpoint. This field is redundant and is being removed. 

Second, the DELETE /crm-object-schemas/v3/schemas/{objectType}/purge endpoint is being redirected to /crm-object-schemas/v3/{objectType}?archived=true. This brings the CRM schemas API inline with other CRM APIs that handle hard delete functionality. This improvement in consistency is already live.  We will continue redirecting the old URL for you for 90 days after which calls the the /purge endpoint will return a 404 error 

When is it changing?

Both changes will take place on Thursday January 28th, 2021

If you have any questions, join the conversation in the community