Versions Compared

Key

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

Status

Status
colourPurpleYellow
titlestartedfore review

Approver

Pavel Shkadzko

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 be 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.

...