---
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, generated by uniqid()
  - `name` string — Name of the vault
  - `created` string, dateTime — Time the vault was created

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/nextcloud/apis/passman-api.md) · [All operations](https://skmtc.net/nextcloud/apis/passman-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextcloud/passman-api/versions/79e52d7d686a/schema)
