Skip to main content
Version: 1.7.3

DeleteAttachment

DeleteAttachment

This endpoint is used to delete the attachments that were previously uploaded for a particular form.

In your API request, you must include the RecordId of the specific form for which you want to delete attachments.

DELETE Attachment/DeleteAttachment 

Request Params

FieldTypeDescription
RecordIDGuidUnique identifier of the records given by TaxBandits

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200,300 etc.
StatusNamestringName of the status code
StatusMessagestringDetailed status message
RecordIdGuidUnique identifier of a record
Errorsobject[]Shows detailed error information.
    IdstringReturns the validation error code.
    NamestringName of the validation error.
    MessagestringDescription of the validation error.

Request Params

"Attachment/DeleteAttachment?RecordId=01132f6d-ef4a-4014-817e-94a5a19bd52b"

Response JSON

Success Response - This is a sample response for successful API requests.

{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"RecordId": "9d71ae45-df5f-49f7-86f8-e88f54132fa1",
"Errors": null
}