Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
titletodo
/
Status
Status
colourPurple
titlestarted
/
colourYellow
titlefor fore review
/
Status
colourGreen
titleapproved

ApproverApprover

Pavel Shkadzko

If you want to delete a document you can do this by sending , send a DELETE request to the document URI. When the document is deleted, all associated resources (extractions, layout) will be are deleted as well.

Code Block
languagejson
//delete documents


    DELETE /documents/{id}
Request

...

Code Block
languagejson
//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.