Apply a theme by id (a person only)
post/hosting/sites/{id}/theme
Apply a theme by id (a person only); the site's tokens become the theme's and the previous ones are returned so they can be set back.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingThemeApply- Sdk
hosting.theme.apply- Cli
hosting theme apply
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- presetIdstringrequiredAt most 40 characters.
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