cURL
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>" }
Restore a previous version of the Template. The version_id in the request body is the ID of a specific revision of the template.
Scope requirements
Unique identifier for the template.
The ID of the version to restore
Template version restored successfully
Was this page helpful?