# Change definitions key columns columnId

Changes one column's presentation: `label` (up to 80 characters), `defaultEnabled`, `minWidth` (40-800), `alignEnd`, `starred` (whether the Add-row dialog asks for this column up front) and `config`. A patch CANNOT change a column's kind — `config` is validated against the kind already on the row — and an absent field is left alone. Answers 204; the column id must be on this page. Workspace admin.

Access class: `def:admin`.

## Endpoint

`PATCH /v1/definitions/{key}/columns/{columnId}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| columnId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "alignEnd": true,
    "config": {},
    "defaultEnabled": true,
    "label": "string",
    "minWidth": 1,
    "starred": true
  },
  "params": {
    ":columnId": "",
    ":key": "string"
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
