Merge the newest version of a template into the site
post/hosting/sites/{id}/templates/{tid}/upgrade/apply
Merge the newest version of a template into the site: unedited blocks change, edited ones stay, new pages arrive; each changed page is one patch. A person only.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingTemplateUpgradeApply- Sdk
hosting.template.upgradeApply- Cli
hosting template upgrade apply
Parameters
- idstring (uuid)requiredIn the path
- tidstringrequiredIn the path
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring