---
title: "Update Data Store Field"
method: PATCH
path: "/v1/data-discovery/data-stores/{dataStoreId}/fields/{fieldId}"
tags: ["dataDiscovery"]
---

# Update Data Store Field

`PATCH /v1/data-discovery/data-stores/{dataStoreId}/fields/{fieldId}`

## Request

- Base URL: `https://api.osano.com`
- URL: `https://api.osano.com/v1/data-discovery/data-stores/{dataStoreId}/fields/{fieldId}`
- Auth: API key in header `x-osano-api-key`
- TypeScript: <https://skmtc.dev/osano/apis/osano-api-reference/docs/v1/data-discovery/data-stores/:dataStoreId/fields/:fieldId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates a single Data Store Field by ID.  Note that this allows for a partial update, not all fields are required.

## Path parameters

- `dataStoreId` string, required
- `fieldId` string, required

## Request body

- DataStoreField
  - `name` string
  - `path` string, nullable
  - `classification` string, nullable: This field should be capitalized

## Response `204`

Success

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/osano/apis/osano-api-reference.md) - [All operations](https://skmtc.dev/osano/apis/osano-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/osano/apis/osano-api-reference/revisions/ac31099cf83e?raw)
