---
title: "Edit Data Store"
method: PATCH
path: "/data_stores/{data_store_id}"
tags: ["DATA_STORE"]
---

# Edit Data Store

`PATCH /data_stores/{data_store_id}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/data_stores/{data_store_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Edit a Snowflake or Tableau connection's display name, description or
credentials. Identity fields are rejected, see ``DataStoreEditRequest``.

The body is read by ``raw_json_body`` and validated by
``parse_edit_request``: FastAPI's own body validation attaches the body to
its errors, and the global handler sends them to an alert, which would leak
a submitted password. The dependencies run in order: authentication and
permission, the feature flag, then the per-tenant rate limit shared with the
dbt rename route.

## Path parameters

- `data_store_id` integer, required

## Response `200`

Successful Response

- DataStoreWithMetadata
  - `id` integer, required
  - `name` string, required
  - `type` string, required
  - `description` string, nullable
  - `created_by` integer, nullable
  - `connection_info` string, nullable
  - `last_modified_by` integer, nullable
  - `can_sync` boolean
  - `auto_sync` boolean
  - `last_synced_at` string, date-time, nullable
  - `last_sync_status` string, nullable
  - `instance_id` integer, nullable
  - `instance_edition` 'ENTERPRISE' | 'STANDARD' | 'BUSINESS_CRITICAL' | 'NA'
  - `is_organization_admin` boolean, nullable
  - `auth_type` string, nullable
  - `connection_name` string, nullable
  - `hosts` TableauHostSites[], nullable
    - `host` string, required
    - `data_store_id` integer, required
    - `sites` string[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-07** `b4beb9e80982`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/data_stores/:data_store_id/patch.md)

---

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