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

# PUT /projects/{project_id}/access-vaults/{vault_id}/bundles/{bundle_id}

`PUT /projects/{project_id}/access-vaults/{vault_id}/bundles/{bundle_id}`

## Request

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

## Path parameters

- `project_id` integer, required
- `vault_id` string, required
- `bundle_id` string, required

## Request body

- SaveAccessBundle
  - `expected_version` integer, nullable
  - `name` string, required
  - `service_ids` string[], required: A selection of this vault's services, not an authorization grant.
  - `ttl_seconds` integer, required

## Response `200`

Success

- AccessBundleResponse
  - `created_at` string, date-time, required
  - `id` string, required
  - `name` string, required
  - `project_id` integer, nullable
  - `service_ids` string[], required
  - `ttl_seconds` integer, required
  - `updated_at` string, date-time, required
  - `vault_id` string, 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`: 2 breaking
  - the response property `project_id` became nullable for the status `200`
  - the response property `project_id` became optional for the status `200`
- **2026-11-14** `101ef74660bc`: 1 info
  - the response property `project_id` became required for the status `200`
- **2026-11-13** `9093c4f2c4cd`: 2 breaking
  - the response property `project_id` became nullable for the status `200`
  - the response property `project_id` became optional for the status `200`
- **2026-11-10** `25defd2aafb8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/access-vaults/:vault_id/bundles/:bundle_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)
