---
title: "Update a vault"
method: PATCH
path: "/vaults/{vault_id}"
tags: ["Vault"]
---

# Update a vault

`PATCH /vaults/{vault_id}`

## Path parameters

- `vault_id` integer, required

## Request body

- object
  - `vault_name` string

## Response `200`

The updated vault

- Vault
  - `vault_id` integer — The id of the vault
  - `name` string — Name of the vault
  - `created` string, dateTime — Time the vault was created

## Other responses

- `default` — Unexpected error

## Changes

- **2016-09-08** `e2294e4e3228` — 1 info
  - endpoint added
- **2016-09-08** `d50f6f1346e0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nextcloud/apis/passman-api/changes/vaults/:vault_id/patch.md)

---

[API](https://skmtc.dev/nextcloud/apis/passman-api.md) · [All operations](https://skmtc.dev/nextcloud/apis/passman-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/passman-api/revisions/91cb79b0570a/schema)
