---
title: "Update a data point choice"
method: PATCH
path: "/v3/data_point_choices/{id}"
tags: ["Deprecated End Points"]
deprecated: true
---

# Update a data point choice

`PATCH /v3/data_point_choices/{id}`

> **Deprecated.**

Update data of a data point choice.

## Path parameters

- `id` integer, required — Data point choice's ID

## Request body

- DataPointChoiceUpdate
  - `dataPoint` string — Uniquely identify a data point.
  - `organization` string — Uniquely identify an organization.
  - `collection` string — Uniquely identify a collection.
  - `label` string
  - `value` string
  - `synonyms` string[], nullable
  - `description` string, nullable

## Response `200`

Successfully updated data point choice.

- DataPointChoice
  - `id` integer, required — Data point choice's ID
  - `label` string, required
  - `value` string, required
  - `synonyms` string[], nullable
  - `description` string, nullable

## Other responses

- `400` — Bad request. If it is a validation error will contain a list of each invalid field
- `401` — Authorisation error
- `default` — UnexpectedError

---

[API](https://skmtc.net/affinda/apis/affinda-api-2.md) · [All operations](https://skmtc.net/affinda/apis/affinda-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinda/affinda-api-2/versions/6772e50cb58e/schema)
