---
title: "Update"
method: POST
path: "/api/v1/vaults/{id}"
tags: ["Vault"]
---

# Update

`POST /api/v1/vaults/{id}`

Invokes the c1.api.vault.v1.VaultService.Update method.

## Path parameters

- `id` string, required — The id field.

## Request body

- C1ApiVaultV1VaultServiceUpdateRequestInput — The VaultServiceUpdateRequest message contains the vault object to update and a field mask to indicate which fields to update.
  - `updateMask` string, nullable
  - `vault` C1ApiVaultV1Vault — The Vault message. This message contains a oneof named vault. Only a single field of the following list may be set at a time: - groupAuthzVault - magicVault
    - `createdAt` string, date-time
    - `credentialExpirationDuration` string, duration
    - `deletedAt` string, date-time
    - `description` string — The description field.
    - `displayName` string — The displayName field.
    - `groupAuthzVault` C1ApiVaultV1GroupAuthzVault, nullable — The GroupAuthzVault message.
    - `id` string — The id field.
    - `magicVault` C1ApiVaultV1MagicVault, nullable — The MagicVault message.
      - `allowUnauthedViews` boolean — The allowUnauthedViews field.
      - `allowedViews` integer — The allowedViews field.
    - `updatedAt` string, date-time

## Response `200`

Successful response

- C1ApiVaultV1VaultServiceUpdateResponse — The VaultServiceUpdateResponse message.
  - `vault` C1ApiVaultV1Vault — The Vault message. This message contains a oneof named vault. Only a single field of the following list may be set at a time: - groupAuthzVault - magicVault
    - `createdAt` string, date-time
    - `credentialExpirationDuration` string, duration
    - `deletedAt` string, date-time
    - `description` string — The description field.
    - `displayName` string — The displayName field.
    - `groupAuthzVault` C1ApiVaultV1GroupAuthzVault, nullable — The GroupAuthzVault message.
    - `id` string — The id field.
    - `magicVault` C1ApiVaultV1MagicVault, nullable — The MagicVault message.
      - `allowUnauthedViews` boolean — The allowUnauthedViews field.
      - `allowedViews` integer — The allowedViews field.
    - `updatedAt` string, date-time

## Changes

- **2025-11-12** `6f49a3969499` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/vaults/:id/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/8a0bdc21dd5f/schema)
