Documents

Delete a document

Changed on

Delete an uploaded document. This cannot be undone. Documents that have already been submitted for verification may not be deletable.

delete/documents/{documentId}

Request

  • Base URL
    https://api.lightspark.com/grid/2025-10-13
  • URL
    https://api.lightspark.com/grid/2025-10-13/documents/{documentId}
  • Auth
    HTTP basic

Path parameters

documentIdstring required

Document ID

Response

Document deleted successfully

Changes

    • warning

      added the new PURCHASE_CARD_LIMIT_REACHED enum value to the response property for the response status

    • warning

      added the new INVOICE_ALREADY_USED enum value to the response property for the response status