update
user.document.update
Replaces the content of an existing document and increments its version. The DEK is shared across versions, so keys are not rotated on update.
Auth
Bearer JWT + unsealed vault.
Arguments
| Arg | Type | Description |
|---|---|---|
id |
ID! |
Document UUID |
input |
DocumentInput! |
Same shape as create |
See create for the DocumentInput fields.
uniquePerVault cannot be changed on update (ignored).
GraphQL
Response
DocumentMetadata with version incremented by 1.