Updates a document (keep existing values for not specified fields).
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the document
The security code
The G Suite domain
To disable custom script executions and workflow email notifications, you can use the following options: SKIP_CUSTOM_SCRIPT_EXECUTIONS, SKIP_WORKFLOW_EMAIL_SENDING.
SKIP_WORKFLOW_EMAIL_SENDING, SKIP_CUSTOM_SCRIPT_EXECUTION, FAIL_ON_INCOMPLETE The list of attachments
The list of attachments to copy (for create/patch)
The list of category fields (only the values are editable)
The email of the user who checked-out the document (read-only field)
The time at which the document was checked-out (read-only field)
The ID of the class of the document (read-only field)
The name of the class of the document (read-only field)
The internationalized name of the class of the document (read-only field)
The coordinate of the sequence for the document (
The time at which the document was created (read-only field)
The email of the user who deleted the document (read-only field)
Whether the document is deleted (read-only field)
The reason for deleting the document (read-only field)
The time at which the document was deleted (read-only field)
The name of the domain (read-only field)
The list of additional permissions configured in Secured Folder libraries
Whether the current user can edit the document (read-only field)
Whether there is an evaluation error on at least one field of the document (read-only field)
The list of native fields (values and metadata are editable)
The location of the document (folder path as list of folders)
The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)
The summed size (in octet) of the attachments (read-only field)
The link to the icon relative to the attachment (read-only field)
The ID of the document (read-only field)
Whether there are missing mandatory fields on the document (read-only field)
The email of the user who created the document (read-only field)
Whether there are invalid values for fields of the document (read-only field)
The ID of the library (read-only field)
The name of the library (read-only field)
The time at which the document was last modified (read-only field after document creation)
The new permissions to apply
The next version name (read-only field)
The number of attachments in the document (read-only field)
Whether only administrators can modify the permissions of the document
Whether only administrators can be delete the document
Id of the original version if this version was created by restoring a previous version, otherwise null
The list of permissions relative to the document
The list of permitted operations to the current user (read-only field)
DELETE, RENAME, MODIFY_ACL, VIEW_ACL, MOVE_TO_ANOTHER_FOLDER, EXPORT, EDIT_PROPERTIES, COPY, CREATE_COPY_FROM, EXPORT_COPY, CREATE_NEW_VERSION, ATTACHMENT_VERSION_REPLACE, ATTACHMENT_VERSION_CREATE, ADD_NEW_ATTACHMENT_FROM_DRIVE, ATTACH_ENCRYPTED_FILE, OPEN_IN_OFFICE, PUBLISH, UNPUBLISH, RESTORE_REVISION, REVERT_TO_THIS_REVISION, CREATE_RELATED_DOCUMENT, DOWNLOAD, DOWNLOAD_ATTACHMENT, NOTIFY_USERS, CHECK_IN, CHECK_OUT, DISCARD_CHECKOUT, FORCE_DISCARD_CHECKOUT, EDIT_TAGS, PERFORM_HUMAN_WORKFLOW_ACTIONS, VIEW_DRAFT, SHARE_PUBLICLY, VIEW_HISTORY, VIEW_VERSIONS, ADD_COMMENT, SET_TEMPLATE_AS_DEFAULT, SET_TEMPLATE_VISIBILITY_SCOPE, DELETE_COMMENT, KNOW_DRAFT, FORCE_PARALLEL_TRANSITION, CHANGE_WORKFLOW_STATE_DIRECTLY, SEE_HIDDEN_FIELDS, VIEW_TRASHED_ITEM, UNTRASH, PERMANENTLY_DELETE, VIEW_DRIVEONLY_ACL, MODIFY_DRIVEONLY_ACL, NON_GOOGLE_USERS_SUPPORT, SUPPORTS_LIVE_EVALUATION, ALLOWLIST_NOT_ENFORCED, CREATE_SUBFOLDER, CREATE_DOCUMENT_IN_THIS_FOLDER, IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER, ADD_NEW_ATTACHMENT_FROM_OSS, OPEN_IN_DRIVE, COPY_FOLDER_TREE, CHECK_FOLDER, MOVE_TO_DRIVE, COPY_TO_DRIVE, MOVE_TO_ANOTHER_LIBRARY, MOVE_TO_ANOTHER_CLASS, COPY_TO_ANOTHER_CLASS, COPY_ATTACHMENT, COPY_TO_ANOTHER_LIBRARY, EDIT_ATTACHMENT The link of the publication for mono-attachment documents
The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents
NONE, DOMAIN, EVERYONE The list of reference catalog fields (only the values are editable)
The map of related documents per relation
Whether the flag controlling whether reader users can download, copy or print the document is enabled.
The description of the document
The sections in which fields are organized (read-only field)
The sequence ID of the document (read-only field)
Whether to set the date of last modification
The name of the workflow state (read-only field)
The person(s) who were involved in the last workflow state change (read-only field)
The date at which the document last changed of workflow state (read-only field)
The ID of the workflow state
The internationalized name of the workflow state (read-only field)
The list of system fields (only the values are editable)
The list of table fields (only the values are editable)
The title of the document
The email of the user who last modified the document (read-only field)
Whether the current user can modify the permissions (read-only field)
Whether the current user can modify the properties (read-only field)
Whether the current user can delete the document (read-only field)
The mapping between user email and user profile (read-only field)
The time at which the version was created (read-only field)
The email of the user who created the version (read-only field)
The description of the current version of the document
The ID of the version (read-only field)
(Deprecated) The description of the version (replaced by versionDescription)
The name of the current version of the document
(Deprecated) The number of the version (replaced by versionName)
The ID of the workflow related to the class of the document (read-only field)
A ApiDocument response
The list of attachments
The list of attachments to copy (for create/patch)
The list of category fields (only the values are editable)
The email of the user who checked-out the document (read-only field)
The time at which the document was checked-out (read-only field)
The ID of the class of the document (read-only field)
The name of the class of the document (read-only field)
The internationalized name of the class of the document (read-only field)
The coordinate of the sequence for the document (
The time at which the document was created (read-only field)
The email of the user who deleted the document (read-only field)
Whether the document is deleted (read-only field)
The reason for deleting the document (read-only field)
The time at which the document was deleted (read-only field)
The name of the domain (read-only field)
The list of additional permissions configured in Secured Folder libraries
Whether the current user can edit the document (read-only field)
Whether there is an evaluation error on at least one field of the document (read-only field)
The list of native fields (values and metadata are editable)
The location of the document (folder path as list of folders)
The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)
The summed size (in octet) of the attachments (read-only field)
The link to the icon relative to the attachment (read-only field)
The ID of the document (read-only field)
Whether there are missing mandatory fields on the document (read-only field)
The email of the user who created the document (read-only field)
Whether there are invalid values for fields of the document (read-only field)
The ID of the library (read-only field)
The name of the library (read-only field)
The time at which the document was last modified (read-only field after document creation)
The new permissions to apply
The next version name (read-only field)
The number of attachments in the document (read-only field)
Whether only administrators can modify the permissions of the document
Whether only administrators can be delete the document
Id of the original version if this version was created by restoring a previous version, otherwise null
The list of permissions relative to the document
The list of permitted operations to the current user (read-only field)
DELETE, RENAME, MODIFY_ACL, VIEW_ACL, MOVE_TO_ANOTHER_FOLDER, EXPORT, EDIT_PROPERTIES, COPY, CREATE_COPY_FROM, EXPORT_COPY, CREATE_NEW_VERSION, ATTACHMENT_VERSION_REPLACE, ATTACHMENT_VERSION_CREATE, ADD_NEW_ATTACHMENT_FROM_DRIVE, ATTACH_ENCRYPTED_FILE, OPEN_IN_OFFICE, PUBLISH, UNPUBLISH, RESTORE_REVISION, REVERT_TO_THIS_REVISION, CREATE_RELATED_DOCUMENT, DOWNLOAD, DOWNLOAD_ATTACHMENT, NOTIFY_USERS, CHECK_IN, CHECK_OUT, DISCARD_CHECKOUT, FORCE_DISCARD_CHECKOUT, EDIT_TAGS, PERFORM_HUMAN_WORKFLOW_ACTIONS, VIEW_DRAFT, SHARE_PUBLICLY, VIEW_HISTORY, VIEW_VERSIONS, ADD_COMMENT, SET_TEMPLATE_AS_DEFAULT, SET_TEMPLATE_VISIBILITY_SCOPE, DELETE_COMMENT, KNOW_DRAFT, FORCE_PARALLEL_TRANSITION, CHANGE_WORKFLOW_STATE_DIRECTLY, SEE_HIDDEN_FIELDS, VIEW_TRASHED_ITEM, UNTRASH, PERMANENTLY_DELETE, VIEW_DRIVEONLY_ACL, MODIFY_DRIVEONLY_ACL, NON_GOOGLE_USERS_SUPPORT, SUPPORTS_LIVE_EVALUATION, ALLOWLIST_NOT_ENFORCED, CREATE_SUBFOLDER, CREATE_DOCUMENT_IN_THIS_FOLDER, IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER, ADD_NEW_ATTACHMENT_FROM_OSS, OPEN_IN_DRIVE, COPY_FOLDER_TREE, CHECK_FOLDER, MOVE_TO_DRIVE, COPY_TO_DRIVE, MOVE_TO_ANOTHER_LIBRARY, MOVE_TO_ANOTHER_CLASS, COPY_TO_ANOTHER_CLASS, COPY_ATTACHMENT, COPY_TO_ANOTHER_LIBRARY, EDIT_ATTACHMENT The link of the publication for mono-attachment documents
The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents
NONE, DOMAIN, EVERYONE The list of reference catalog fields (only the values are editable)
The map of related documents per relation
Whether the flag controlling whether reader users can download, copy or print the document is enabled.
The description of the document
The sections in which fields are organized (read-only field)
The sequence ID of the document (read-only field)
Whether to set the date of last modification
The name of the workflow state (read-only field)
The person(s) who were involved in the last workflow state change (read-only field)
The date at which the document last changed of workflow state (read-only field)
The ID of the workflow state
The internationalized name of the workflow state (read-only field)
The list of system fields (only the values are editable)
The list of table fields (only the values are editable)
The title of the document
The email of the user who last modified the document (read-only field)
Whether the current user can modify the permissions (read-only field)
Whether the current user can modify the properties (read-only field)
Whether the current user can delete the document (read-only field)
The mapping between user email and user profile (read-only field)
The time at which the version was created (read-only field)
The email of the user who created the version (read-only field)
The description of the current version of the document
The ID of the version (read-only field)
(Deprecated) The description of the version (replaced by versionDescription)
The name of the current version of the document
(Deprecated) The number of the version (replaced by versionName)
The ID of the workflow related to the class of the document (read-only field)