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

Status Code

Description

204 (No Content)

Operation is successful.

Errors

Status Code

Description

Status Code

Description

404 (Not Found)

Returned when no document can be found under the specific URI.