Update User Document
GraphQL endpoint: /user
Updates one of the calling user's documents — the file name and summary. The stored file itself is untouched.
Query
mutation ($id: ID!, $fileName: String, $summary: String) {
updateUserDocument(id: $id, fileName: $fileName, summary: $summary) {
id
fileName
summary
}
}
Variables
{
"fileName": "contract-v2.pdf",
"id": "00000000-0000-4000-8000-000000000001",
"summary": "Two-year TV warranty."
}Response
Last updated