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
- Sample Requests
"Business/Delete?BusinessId=5b0aedcc-96f5-44ea-8643-c1fd1515398c&EINOrSSN=003313331&isForceDelete=True"
Response JSON
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"BusinessId": "9094e428-8aca-46b0-873b-be9cc679f1b9",
"Errors": null
}
![Node.js logo](/assets/images/NodeJs_Logo-d7be5ca971768c79cbefb0a0484b7ad9.png)
Node.js
![Python logo](/assets/images/Python_Logo-bdc7e23ce0582de93a1372d7337078ae.png)
Python
![Java logo](/assets/images/Java_Logo-5b127694b5c2cf78dfc5ee999c0977ea.png)
Java
![.NET C# logo](/assets/images/Dotnet_Logo-83ae0f1f2b82df8aa3af2e3c3602bbee.png)
.NET C#