Keep this site's theme and library picks as a private preset of the project
post/hosting/sites/{id}/design-library/presets
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingLibraryPresetSave- Sdk
hosting.libraryPreset.save- Cli
hosting library preset save
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringrequiredAt most 60 characters.
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