Change the publicState of a document
Authentication
x-api-keystring
API Key authentication via header
Path parameters
id
id of the document which type will be changed
Request
This endpoint expects an object.
publicState
Allowed values:
Response
Updated document
_id
account
Account the document belongs to.
environment
Environment the document belongs to.
company
Company the document belongs to.
creator
User that uploaded the document
clientData
"Additional data to be added to each document. Must be an object
or an array of objects. If data to be specified to each document
is different, this parameter should have the following format:
`[
{
_filename: <name of the file to which attach this data>,
<key>: <value>
},
...
{
_filename: <name of the file to which attach this data>,
<key>: <value>
}
]`."
type
Allowed values:
name
Original name of the uploaded file
creation
Upload timestamp
images
Array of Azure Storage URLs (SAS) to access the document extracted images
original
Azure Storage URL (SAS) to access the original file
mimetype
data
Extracted document data. Structure varies by document type.
publicState
confidence
Allowed values:
processInfo
validationInfo
approvalInfo
import
exports
geometry
deleted
Indicates whether the document has been logically deleted
duplicatedDeprecated