SureTax Returns API
DELETE Form Instances
Overview
This API endpoint enables the deletion of generated form instances from the system. It provides clients with the ability to remove specific form instances that are no longer needed or relevant, helping to maintain data integrity and system cleanliness.
OperationId: DELETE Form Instances
Authorization Method(s): OAuth
Verb: DELETE
End Point: /api/v1/Forms/FormInstances
Overview
Example Response
{
"data": {
"formInstances": [
{
"id": "FORM12345",
"errorMessage": "No errors."
},
{
"id": "FORM67890",
"errorMessage": "Error while deleting form instance."
}
]
}
}| code | description |
|---|---|
| 200 | The API response contains the status of the deleted form instances along with any error messages. |
| 400 | Bad request. Invalid data provided. |
| 401 | Unauthorized access. |
| 500 | Internal server error. |