curl --request DELETE \
--url https://api.withorb.com/v1/credit_blocks/{block_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 a credit block by its ID.
When a credit block is deleted:
Issued invoices that had credits applied from this block will not be regenerated, but the ledger will reflect the state as if credits from the deleted block were never applied.
curl --request DELETE \
--url https://api.withorb.com/v1/credit_blocks/{block_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?