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

KeyDatatypeRequiredDescription
spaceKeystringThe 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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;selected&quot;:&quot;global&quot;,&quot;global&quot;:{&quot;headings&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;links&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;menus&quot;:{&quot;hoverOrFocus&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;color&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;header&quot;:{&quot;backgroundColor&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;button&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;primaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;secondaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;search&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;content&quot;:{&quot;screen&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;container&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;header&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;body&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;bordersAndDividers&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;}},&quot;custom&quot;:{&quot;headings&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;links&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;menus&quot;:{&quot;hoverOrFocus&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;color&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;header&quot;:{&quot;backgroundColor&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;button&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;primaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;secondaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;search&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;content&quot;:{&quot;screen&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;container&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;header&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;body&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;bordersAndDividers&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;}},&quot;theme&quot;:{&quot;headings&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;links&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;menus&quot;:{&quot;hoverOrFocus&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;color&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;header&quot;:{&quot;backgroundColor&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;button&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;primaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;secondaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;search&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;content&quot;:{&quot;screen&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;container&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;header&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;body&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;bordersAndDividers&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;}}}