Skip to main content
DELETE
/
api
/
invoices
/
{invoice_uid}
/
line_items
Delete invoice line items
curl --request DELETE \
  --url https://dev.exante.app/api/invoices/{invoice_uid}/line_items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  "3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
'
{
  "error": "<string>",
  "details": [
    "<string>"
  ]
}
Send a JSON array of line item UIDs to delete.
[
  "550e8400-e29b-41d4-a716-446655440000",
  "550e8400-e29b-41d4-a716-446655440001"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

invoice_uid
string<uuid>
required

Invoice UID

Body

application/json
Minimum array length: 1

Response

Line items deleted