# Update an existing project column

From **GitHub v3 REST API**.

`PATCH /projects/columns/{column_id}`

Update an existing project column

## Parameters

### `column_id`

- Location: path
- Required: true
- Type: `integer`

column_id parameter

## Request body

- Required: true
### `application/json`

- Type: `object`

```json
{"properties":{"name":{"description":"Name of the project column","example":"Remaining tasks","type":"string"}},"required":["name"],"type":"object"}
```

## Responses

### `200`

Response

### `application/json`

- Type: `object`

Project columns contain cards of work.

```json
{
  "cards_url": "https://api.github.com/projects/columns/367/cards",
  "created_at": "2016-09-05T14:18:44Z",
  "id": 367,
  "name": "To Do",
  "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=",
  "project_url": "https://api.github.com/projects/120",
  "updated_at": "2016-09-05T14:22:28Z",
  "url": "https://api.github.com/projects/columns/367"
}
```

```json
{"description":"Project columns contain cards of work.","properties":{"cards_url":{"example":"https://api.github.com/projects/columns/367/cards","format":"uri","type":"string"},"created_at":{"example":"2016-09-05T14:18:44Z","format":"date-time","type":"string"},"id":{"description":"The unique identifier of the project column","example":42,"type":"integer"},"name":{"description":"Name of the project column","example":"Remaining tasks","type":"string"},"node_id":{"example":"MDEzOlByb2plY3RDb2x1bW4zNjc=","type":"string"},"project_url":{"example":"https://api.github.com/projects/120","format":"uri","type":"string"},"updated_at":{"example":"2016-09-05T14:22:28Z","format":"date-time","type":"string"},"url":{"example":"https://api.github.com/projects/columns/367","format":"uri","type":"string"}},"required":["id","node_id","url","project_url","cards_url","name","created_at","updated_at"],"title":"Project Column","type":"object"}
```

### `304`

Not modified

### `401`

Requires authentication

### `application/json`

- Type: `object`

Basic Error

```json
{"description":"Basic Error","properties":{"documentation_url":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}},"title":"Basic Error","type":"object"}
```

### `403`

Forbidden

### `application/json`

- Type: `object`

Basic Error

```json
{"description":"Basic Error","properties":{"documentation_url":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}},"title":"Basic Error","type":"object"}
```

## Request examples

### cURL

```shell
curl --request PATCH \
  --url {protocol}://{hostname}/api/v3/projects/columns/{column_id} \
  --header 'content-type: application/json' \
  --data '{
  "name": "string"
}'
```
