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>"
}

Required Scopes

This API requires one of the following scopes:
  • content

Path Parameters

template_id
string
required

Unique identifier for the template.

Body

application/json

Response

200 - application/json

Template version restored successfully

The response is of type object.