---
title: "Update vault settings"
method: PATCH
path: "/vault/{id}"
tags: ["Vaults"]
---

# Update vault settings

`PATCH /vault/{id}`

Update vault settings including name, description, and enableGraph. Changing enableGraph only affects future document uploads - existing documents retain their current graph/non-graph state.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string — New name for the vault
  - `description` string, nullable — New description for the vault. Set to null to remove.
  - `enableGraph` boolean — Whether to enable GraphRAG for future document uploads
  - `groupId` string, nullable — Move the vault to a different group, or set to null to remove from its current group.

## Response `200`

Vault updated successfully

- object
  - `id` string — Vault identifier
  - `name` string — Vault name
  - `description` string, nullable — Vault description
  - `filesBucket` string — S3 bucket for document storage
  - `vectorBucket` string, nullable — S3 bucket for vector embeddings
  - `indexName` string — Search index name
  - `region` string — AWS region
  - `kmsKeyId` string — KMS key for encryption
  - `chunkStrategy` object — Document chunking strategy configuration
  - `enableGraph` boolean — Whether GraphRAG is enabled for future uploads
  - `totalObjects` integer — Number of stored documents
  - `totalBytes` integer — Total storage size in bytes
  - `totalVectors` integer — Number of vector embeddings
  - `metadata` object — Additional vault metadata
  - `createdAt` string, date-time — Vault creation timestamp
  - `updatedAt` string, date-time — Last update timestamp

## Other responses

- `400` — Invalid request - no fields to update or invalid field values
- `401` — Invalid API key
- `403` — API key does not have vault service access
- `404` — Vault not found or access denied

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/versions/5b7e64e6d6f9/schema)
