RenameDocument
Renames a document: sets the name shown everywhere the document appears, in the DMS included
Signature
mutation {
RenameDocument(documentId: ..., displayedName: ...)
}
Retourne : Document!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
documentId | ID! | ✓ | — | — |
displayedName | String! | ✓ | — | New displayed name of the document, trimmed; the name of the stored file is left unchanged |
Exemple
mutation {
RenameDocument(
documentId: $documentId
displayedName: $displayedName
) {
id
contentType
signedUrl
downloadUrl
size
name
displayedName
createdAt
documentGenerated {}
documentsGenerated {}
accountDocuments {}
documentControl {}
}
}