Update a vault
Vaults
Update a vault
Change a vault config’s name or provider settings.
PATCH
Update a vault
Partially updates a vault config. Only the fields you send are changed. To replace the stored service account token, use Rotate the token instead.
Returns the updated vault object.
Path parameters
The vault config’s
id (UUID).Request body
New label for the config.
Replacement provider settings:
provider (optional, defaults onepassword) and op_vault_id (required when provided).Examples
Errors
| Status | Cause |
|---|---|
404 | Vault not found or you don’t have access. |
422 | Body failed validation. |