Delete File
Delete an uploaded document. This endpoint allows you to delete an uploaded document.
DELETE /api/v1/documents/{nameOrId}
Path param
authorization : *bearer
REQUEST BODY SCHEMA: multipart/form-data
Name | Description | Required | Type |
---|---|---|---|
nameOrId | Name or ID of the document to be downloaded. Example: policy-certificate.pdf | Required | any |
Response
Code | Description |
---|---|
200 | Deleted Document Information |
409 | Unauthorized |
Response Sample
Content type
application/json
[
{
"statusCode": 200,
"success": true,
"data": [
+ {...}
]
}
...
]