Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Reset Space color scheme

Reset the space color scheme to use global color scheme

PUT/rest/api/space/{spaceKey}/color-scheme/reset
Path parameters
spaceKeystringrequired

Space key of the space to reset color scheme for.

Responses
200

Returns a JSON representation of color scheme

colorSchemeModelLightColorSchemeModel
Show properties
topBarColorstring
topBarMenuSelectedBgColorstring
topBarMenuSelectedTextColorstring
breadcrumbsTextColorstring
headerButtonBgColorstring
headerButtonTextColorstring
searchFieldTextColorstring
searchFieldBgColorstring
menuItemSelectedBgColorstring
menuItemSelectedTextColorstring
menuItemTextColorstring
headingTextColorstring
linkColorstring
colorSchemeModelDarkColorSchemeModel
Show properties
topBarColorstring
topBarMenuSelectedBgColorstring
topBarMenuSelectedTextColorstring
breadcrumbsTextColorstring
headerButtonBgColorstring
headerButtonTextColorstring
searchFieldTextColorstring
searchFieldBgColorstring
menuItemSelectedBgColorstring
menuItemSelectedTextColorstring
menuItemTextColorstring
headingTextColorstring
linkColorstring
403

Returned if a space with the user is not space admin for the given space.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
404

Returned if a space with the given space key does not exist.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X PUT 'http://example.com:7990/confluence/rest/api/space/string/color-scheme/reset' \
  -H 'Accept: application/json'
Response
{
  "colorSchemeModelLight": {
    "topBarColor": "#000000",
    "topBarMenuSelectedBgColor": "#000000",
    "topBarMenuSelectedTextColor": "#000000",
    "breadcrumbsTextColor": "#000000",
    "headerButtonBgColor": "#000000",
    "headerButtonTextColor": "#000000",
    "searchFieldTextColor": "#000000",
    "searchFieldBgColor": "#000000",
    "menuItemSelectedBgColor": "#000000",
    "menuItemSelectedTextColor": "#000000",
    "menuItemTextColor": "#000000",
    "headingTextColor": "#000000",
    "linkColor": "#000000"
  },
  "colorSchemeModelDark": {
    "topBarColor": "#000000",
    "topBarMenuSelectedBgColor": "#000000",
    "topBarMenuSelectedTextColor": "#000000",
    "breadcrumbsTextColor": "#000000",
    "headerButtonBgColor": "#000000",
    "headerButtonTextColor": "#000000",
    "searchFieldTextColor": "#000000",
    "searchFieldBgColor": "#000000",
    "menuItemSelectedBgColor": "#000000",
    "menuItemSelectedTextColor": "#000000",
    "menuItemTextColor": "#000000",
    "headingTextColor": "#000000",
    "linkColor": "#000000"
  }
}

Was this page helpful?