---
title: "Rename column colours"
method: PATCH
path: "/table-column-color-labels/"
tags: ["table-column-color-labels"]
---

# Rename column colours

`PATCH /table-column-color-labels/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/table-column-color-labels/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Replace the organisation's column colour names. Send the whole set: a colour omitted, or given a blank name, reverts to its built-in name.

## Request body

- TableColumnColorLabelsUpdateSchema: Request body replacing the organisation's colour names.
  - `labels` object, required: The complete set of names. A REPLACE, not a merge: a token omitted here, or given a blank name, goes back to its built-in name.

## Response `200`

Successful Response

- TableColumnColorLabelsReadSchema: What this organisation calls each column tint.
  - `labels` object, required: Colour token to this organisation's name for it. SPARSE: a token that is absent has not been renamed, and the client shows its built-in name.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
