Skip to content
Bloomcount API
Esc
navigateopen⌘Jpreview

Delete a tax group

A price list that loses its tax group keeps quoting at the default rate, so the change is invisible in the response. This refuses with 409 tax_group_in_use:<count> while any list still points at the group; ?force=true deletes it, which is what the app does.

Errors

  • 409 tax_group_in_use:<count> — that many price lists still reference the group. Retry with ?force=true, or repoint those lists first.
  • 404 tax_group_not_found — unknown ID, or one belonging to another tenant.
  • 422 wrong_id_type:expected_tax_groups_got_<table> — the ID’s prefix isn’t tax_.
DELETE/api/v1/tax-groups/{id}
Authorization
AuthorizationBearer token (bloomcount_...) · headerrequired
Path parameters
idstringrequired
Query parameters
forceboolean
Delete even when the cascade reaches beyond this resource.
default: false
Responses
200Deleted
deletedbooleanrequired
401Missing or invalid API key, or revoked / expired.
errorstringrequired
403Authenticated, but the key lacks the required scope or the tenant has no API access.
errorstringrequired
404The requested resource doesn't exist or belongs to a different tenant.
errorstringrequired
409The resource is still referenced, and deleting it would take other rows with it. The error names what and how many, for example price_list_in_use:3. Retry with force=true to delete anyway.
errorstringrequired
422Request body or arguments failed validation.
errorstringrequired
429Per-minute rate limit (60/min) or per-month cap exceeded.
errorstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X DELETE "https://app.bloomcount.com/api/v1/tax-groups/tax_x7c4d8m2k9n1q5r6t3v8w2y4z" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "deleted": true
}