Save the site as the project's own template
post/hosting/sites/{id}/templates
Save the site as the project's own template: structure, tokens and locks kept; pictures, specific entries and products and form ids removed.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingTemplateSave- Sdk
hosting.template.save- Cli
hosting template save
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringrequiredAt most 80 characters.
- taglinestringAt most 200 characters.
- tagslist of string
Responses
- 201application/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