Skip to main content

RenameDocument

Stable

Renames a document: sets the name shown everywhere the document appears, in the DMS included

Signature​

mutation {
RenameDocument(documentId: ..., displayedName: ...)
}

Retourne : Document!

Arguments​

NomTypeRequisDéfautDescription
documentIdID!✓——
displayedNameString!✓—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 {}
}
}