Delete A Document
PUT https://my.mattero.com.au/public/api/v1/documents/{id}
Name | Location | Type | Description |
---|---|---|---|
file | Body (Form Data) | FormFile[]:required | The new document's file |
{
"fileExtension": ".docx",
"size": 1056,
"id": "106-A",
"name": "Required doc"
}
ReplaceDocumentResponse object
Name | Type | Description |
---|---|---|
id | string | Document unique identifier. |
fileExtension | string | The file extension of the replaced document. |
size | number | The file size of the new document in bytes. |
name | string | The name of the replaced document. |
Code | Summary | Description |
---|---|---|
200 | Ok | The request was successful with a body in the response. |
400 | Bad Request | The request failed validation checks. |
401 | Unauthorized | Failed authentication check. |
403 | Forbidden | Failed authorization check. |