curl --request DELETE \
--url https://api.withorb.com/v1/invoices/{invoice_id}/invoice_line_items/{line_item_id} \
--header 'Authorization: Bearer <token>'{
"type": "https://docs.withorb.com/reference/error-responses#400-constraint-violation",
"status": 400,
"detail": "<string>",
"title": "<string>"
}This endpoint deletes an invoice line item from a draft invoice.
This endpoint only allows deletion of one-off line items (not subscription-based line items). The invoice must be in a draft status for this operation to succeed.
curl --request DELETE \
--url https://api.withorb.com/v1/invoices/{invoice_id}/invoice_line_items/{line_item_id} \
--header 'Authorization: Bearer <token>'{
"type": "https://docs.withorb.com/reference/error-responses#400-constraint-violation",
"status": 400,
"detail": "<string>",
"title": "<string>"
}Was this page helpful?