/
Delete Documents
Delete Documents
If you want to delete a document, send a DELETE request to the document URI. When the document is deleted, all associated resources (extractions, layout) are deleted as well.
//delete documents
DELETE /documents/{id}
Request
//delete request
curl -H 'Authorization: BEARER <token>'
-X DELETE -i https://pay-api.gini.net/documents/c292af40-d06a-11e2-9a2f-000000000000
Response
Headers
Status Code | Description |
---|---|
204 (No Content) | Operation is successful. |
Errors
Status Code | Description |
---|---|
404 (Not Found) | Returned when no document can be found under the specific URI. |
, multiple selections available,
Related content
Retrieve Extractions
Retrieve Extractions
More like this
Retrieve Processed Document
Retrieve Processed Document
More like this
Get List of all Documents
Get List of all Documents
More like this
Retrieve Document Layout
Retrieve Document Layout
More like this
Document Extractions for Payment
Document Extractions for Payment
Read with this
Check Processing Status and Get Document Information
Check Processing Status and Get Document Information
More like this