---
title: "Rename a shared store"
method: PATCH
path: "/shared-stores/{store_id}"
tags: ["Shared Stores"]
---

# Rename a shared store

`PATCH /shared-stores/{store_id}`

## Request

- Base URL: `https://api.mosaic.so`
- URL: `https://api.mosaic.so/shared-stores/{store_id}`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required: Store display name.

## Response `200`

Store updated

- object
  - `store` SharedStore, required
    - `id` string, uuid, required: Mosaic-generated store ID.
    - `name` string, required: Store display name.
    - `source_type` string, required: Caller-defined source label; manual is the default. This is not an enum.
    - `created_at` string, date-time, required: UTC creation timestamp.
    - `updated_at` string, date-time, required: UTC last-update timestamp.

## Other responses

- `400`: Store name is missing
- `401`: Shared Store authentication failed
- `403`: The organization does not have API access
- `404`: The store does not exist or belongs to another organization
- `500`: Store could not be updated

---

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