---
title: "Updates Color config"
method: PUT
path: "/v2/companies/{companyId}/color-config"
tags: ["Companies"]
---

# Updates Color config

`PUT /v2/companies/{companyId}/color-config`

## Request

- Base URL: `https://api-ext-sboxmeta.partners.spotnana.com`
- URL: `https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/{companyId}/color-config`
- Auth: HTTP bearer

This endpoint stores Color config for the company at some entity level.

## Query parameters

- `companyRole` 'ORG' | 'TMC' | 'PARTNER_TMC' | 'HR_FEED_CONNECTOR' | 'TRIPS_DATA_CONNECTOR' | 'GLOBAL', required: Role of the company.

## Request body

- ColorConfig: Color configuration for customizable colors in the UI.
  - `profileColors` TitledColor[]: The list of colors relating to profile.
    - `title` 'PROFILE_TIER_MEMBER_COLOR' | 'PROFILE_TIER_SILVER_COLOR' | 'PROFILE_TIER_GOLD_COLOR' | 'PROFILE_TIER_PLATINUM_COLOR' | 'PROFILE_TIER_TITANIUM_COLOR' | 'PROFILE_TIER_AMBASSADOR_COLOR', required: Title of the color.
    - `color` string, required

## Response `200`

OK

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: The specified resource was not found.

---

[API](https://skmtc.dev/spotnana/apis/company-api.md) - [All operations](https://skmtc.dev/spotnana/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spotnana/apis/company-api/revisions/184a1b415751?raw)
