Apply the brand palette to the site with a person's approval; it can be undone
post/hosting/sites/{id}/design-library/brand/apply
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingLibraryBrandApply- Sdk
hosting.libraryBrand.apply- Cli
hosting library brand apply
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- brandobject
- draftboolean
- namestringAt most 60 characters.
- colorslist of stringrequired
- fontslist of object
- familystringrequiredAt most 60 characters.
- rolestringOne of: heading, body, both.
- stylestringOne of: sans, serif, mono, display.
- webLicenceboolean or unknownrequired
- familystringrequired
- imagerystringAt most 200 characters.
- voicelist of string
- logoTextstringAt most 40 characters.
- modestringOne of: light, dark.
- approveboolean
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