---
title: "Creates or updates style settings for the given project"
method: PUT
path: "/gdc/projects/{projectId}/styleSettings"
tags: ["style-settings"]
---

# Creates or updates style settings for the given project

`PUT /gdc/projects/{projectId}/styleSettings`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{projectId}/styleSettings`
- Auth: none declared

## Path parameters

- `projectId` string, required

## Request body

- StyleSettings
  - `styleSettings` object, required
    - `chartPalette` ChartPalette[], required
      - `guid` string, required: Palette id
      - `fill` object, required: RGB encoded fill color
        - `r` integer, required: Intensity of red
        - `g` integer, required: Intensity of green
        - `b` integer, required: Intensity of blue
    - `chartFont` object: Font
      - `family` string, required: Font family

## Response `204`

Custom style settings were successfully created or updated.

## Other responses

- `403`: The API call failed because you are not a member of the given project or you do not have permission to change style settings (`canSetStyle`).
- `404`: The API call failed because the project for which you have requested style settings does not exist.
- `default`: Common error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
