Update Vault Entry
Partially update a vault entry the caller owns.
Only fields explicitly set on the request body are applied - unset fields leave the stored value unchanged. A new credential payload, if provided, is re-encrypted before being written.
Args: entry_id: Vault entry to update. body: Fields to change; unset fields are left untouched. session: Database session. context: Caller's security context; the caller must own the entry.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
entry_id*Entry Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/v1/vault/entries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}