Delete
Use this endpoint to delete a business from TaxBandits. In the request JSON, you must provide the BusinessId.
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. |
Code | string | Returns the validation error code. |
Name | string | Name of the validation error. |
Message | string | Description of the validation error. |
Type | string | Type of validation error. |
- Request Params
- 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
}