---
title: "PUT /access-vaults/{vault_id}"
method: PUT
path: "/access-vaults/{vault_id}"
tags: ["Vault"]
---

# PUT /access-vaults/{vault_id}

`PUT /access-vaults/{vault_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/access-vaults/{vault_id}`
- Auth: HTTP bearer

## Path parameters

- `vault_id` string, required

## Request body

- SaveAccessVault
  - `expected_version` integer, nullable
  - `name` string, required
  - `service_ids` string[], required: Existing services in this project. At most 100, without duplicates.

## Response `200`

Success

- AccessVaultResponse
  - `created_at` string, date-time, required
  - `id` string, required
  - `name` string, required
  - `project_id` integer, nullable
  - `service_ids` string[], required
  - `updated_at` string, date-time, required
  - `version` integer, required

## Other responses

- `400`: Invalid selection
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Resource not found
- `409`: Version conflict
- `500`: Storage failure

## Changes

- **2026-11-14** `3d5be996525d`: 1 info
  - endpoint added
- **2026-11-14** `101ef74660bc`: 1 breaking
  - api path removed without deprecation
- **2026-11-13** `9093c4f2c4cd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/access-vaults/:vault_id/put.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
