Set look and feel settings
PUT {{baseUrl}}/api/settings/lookandfeel/selected?spaceKey=<string>
Sets the look and feel settings to either the default settings or the custom settings, for the site or a single space. Note, the default space settings are inherited from the current global settings.
Permissions required: 'Admin' permission for the space.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
spaceKey | string | The key of the space for which the look and feel settings will be | |
set. If this is not set, the global look and feel settings will be | |||
set. |
Request Body
{"selected"=>"<string>", "global"=>{"headings"=>{"color"=>"<string>"}, "links"=>{"color"=>"<string>"}, "menus"=>{"hoverOrFocus"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "color"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "header"=>{"backgroundColor"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "button"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "primaryNavigation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "secondaryNavigation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "search"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "content"=>{"screen"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "container"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "header"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "body"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "bordersAndDividers"=>{"color"=>"<string>"}}, "custom"=>{"headings"=>{"color"=>"<string>"}, "links"=>{"color"=>"<string>"}, "menus"=>{"hoverOrFocus"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "color"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "header"=>{"backgroundColor"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "button"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "primaryNavigation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "secondaryNavigation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "search"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "content"=>{"screen"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "container"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "header"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "body"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "bordersAndDividers"=>{"color"=>"<string>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"selected":"global","global":{"headings":{"color":"\u003cstring\u003e"},"links":{"color":"\u003cstring\u003e"},"menus":{"hoverOrFocus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"header":{"backgroundColor":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"button":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"primaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"secondaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"search":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"content":{"screen":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"container":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"header":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"body":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"bordersAndDividers":{"color":"\u003cstring\u003e"}},"custom":{"headings":{"color":"\u003cstring\u003e"},"links":{"color":"\u003cstring\u003e"},"menus":{"hoverOrFocus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"header":{"backgroundColor":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"button":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"primaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"secondaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"search":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"content":{"screen":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"container":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"header":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"body":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"bordersAndDividers":{"color":"\u003cstring\u003e"}},"theme":{"headings":{"color":"\u003cstring\u003e"},"links":{"color":"\u003cstring\u003e"},"menus":{"hoverOrFocus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"header":{"backgroundColor":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"button":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"primaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"secondaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"search":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"content":{"screen":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"container":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"header":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"body":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"bordersAndDividers":{"color":"\u003cstring\u003e"}}}