Documents
Delete a document
Changed onDelete an uploaded document. This cannot be undone. Documents that have already been submitted for verification may not be deletable.
delete/documents/{documentId}
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/documents/{documentId}
- AuthHTTP basic
Path parameters
documentIdstring required
Document ID
Response
Document deleted successfully
Changes
- warning
added the new
PURCHASE_CARD_LIMIT_REACHEDenum value to theresponse property for the response status
- warning
- warning
added the new
INVOICE_ALREADY_USEDenum value to theresponse property for the response status
- warning