---
title: "Update a Data Store"
method: PUT
path: "/datastores/{dataStoreId}"
tags: ["resource-api"]
---

# Update a Data Store

`PUT /datastores/{dataStoreId}`

Update a Data Store

## Parameters

- `./parameters.yaml#/components/parameters/dataStoreId` — unresolved $ref

## Request body

- DataStore — unresolved $ref

## Response `204`

successful operation

## Other responses

- `400` — invalid data store, some data was sent in incorrect format.
- `500` — problem with updating data store

## Changes

- **2023-04-26** `e1a1a29e59cf` — 3 info
  - api tag `resource-api` added
  - api tag `api` removed
  - added the non-success response with the status `400`
- **2023-04-14** `5dadc65a3c42` — 1 warning
  - deleted the `path` request parameter `dataStoreId`
- **2022-12-19** `66fac53bfe14` — 1 info
  - endpoint added
- **2022-11-17** `9ee6203c38fa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/datastores/:dataStoreId/put.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/tracetest/revisions/fad7f202ff22/schema)
