Modifying Templates

Learn to update and delete templates.

Update a template

After creating a template, we might want to change it. This can be done by sending a PUT request to the update template endpoint available in HubSpot.

The base URL for this endpoint is as follows:

https://api.hubspot.com/content/api/v2/templates/{TEMPLATE_ID}

Request parameters

We need to provide the template ID as a path parameter to update a template. In addition, we can provide any attribute as a body parameter we want to update in our template. Only the attributes given as a body parameter will be updated through this ...