put https://api.cloud.digifi.io/application-documents/[id]
How to update an application document using the DigiFi API.
The Update Application Document API can be used to update a document (or document folder) that was previously uploaded to an application.
Example Requests
Below please find the JSON body for two example requests:
- Example 1: Renaming the document or document folder.
- Example 2: Moving a document or folder to another folder.
- Example 3: Setting access permissions for a document.
- Example 4: Setting labels for a document (will override existing labels).
- Example 5: Adding/Removing labels in existing labels list in a document.
{
"name": "Document Name Example"
}
{
"parentId": "63caa99d3e8b90d2e5512269"
}
{
"accessPermissions": [
{
"entityId": "63ca97e69ee2e89fc9163772",
"entityType": "borrower",
"accessGranted": true
}
]
}
{
"labels": {
"set": ["63caa99d3e8b90d2e5512269", "63caa99d3e8b90d2e5512269"]
}
}
{
"labels": {
"add": ["63caa99d3e8b90d2e5512269", "63caa99d3e8b90d2e5512268"],
"remove": ["63caa99d3e8b90d2e5512268"]
}
}