Delete
Delete
This endpoint can be used to delete a specific business created in TaxBandits API. Your request JSON must include the BusinessId of the business you need to delete.
Note:
A business cannot be deleted if any tax forms are already associated with it.
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
}