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

# Update Data Store Fields

`PUT /v1/data-discovery/data-stores/{dataStoreId}/fields`

## Request

- Base URL: `https://api.osano.com`
- URL: `https://api.osano.com/v1/data-discovery/data-stores/{dataStoreId}/fields`
- 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/put.ts> (a function with typed inputs; its response is checked against the schema)

Add to the list of personal data fields for a particular Data Store.  Note that fields may not have the same path and name as an existing field.  Any such fields in the payload will be ignored.

## Path parameters

- `dataStoreId` 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)
