Delete
Delete
This endpoint permanently removes a business created in TaxBandits. This action cannot be undone. Once deleted, the business and its associated data are no longer accessible.
By default, deletion is blocked if the business has associated returns. Setting IsForceDelete to true removes this restriction. Use with caution.
DELETE Business/Delete Request Params
| Field | Type | Description |
|---|---|---|
| BusinessId | Guid | Unique Identifier of the business |
| EINOrSSN | string | EIN/SSN of the business to be deleted. |
| IsForceDelete | Boolean | Optional When true, deletes a business without validating whether the business has returns or not. |
Response Body
| Field | Type | Description |
|---|---|---|
| StatusCode | number | Returns the status codes like 200,300 etc. |
| StatusName | string | Name of the status code. |
| StatusMessage | string | Detailed status message |
| BusinessId | Guid | Unique Identifier of the business |
| Errors | object[] | Shows detailed error information. |
| Id | string | Returns the validation error Id. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
Payload
Node.js
Python
Java
.NET C#
"Business/Delete?BusinessId=5b0aedcc-96f5-44ea-8643-c1fd1515398c&EINOrSSN=003313331&isForceDelete=True"
Response Json
| Sample | Description | Action |
|---|---|---|
| 200 | Success Response - This is a sample response for successful API requests. |
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"BusinessId": "9094e428-8aca-46b0-873b-be9cc679f1b9",
"Errors": null
}