Skip to main content
POST
/
content
/
api
/
v2
/
templates
/
{template_id}
/
versions
/
restore
Restore a previous version of the Template
curl --request POST \
  --url https://api.hubapi.com/content/api/v2/templates/{template_id}/versions/restore \
  --header 'Content-Type: application/json' \
  --data '
{
  "version_id": "<string>"
}
'
{
  "succeeded": true,
  "message": "<string>"
}

Path Parameters

template_id
string
required

Unique identifier for the template.

Body

application/json
version_id
string
required

The ID of the version to restore

Response

200 - application/json

Template version restored successfully

succeeded
boolean
message
string
Last modified on December 12, 2025