Skip to main content
Version: 2.0.0

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/delete 

Request Body

FieldTypeDescription
RecordIdsGuid[]Unique identifier of the records given by TaxBandits

Response Body

FieldTypeDescription
SuccessRecordsobject[]It will show the detailed status information for the attachments that were successfully deleted from the specified records.
RecordIdGuidUnique identifier of a record
ErrorRecordsobject[]It will show the detailed status information for the attachments that failed to be deleted from the specified records.
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.
Errorsobject[]Shows detailed error information.
IdstringReturns the validation error ID.
NamestringName of the validation error.
MessagestringDescription of the validation error.
Request Params
SampleDescriptionAction
Sample 1
Query Params - Delete the attachments that were previously uploaded
Sample 1
Attachment/Delete?RecordIds=01132f6d-ef4a-4014-817e-94a5a19bd52b
Response JSON
ResponseDescriptionAction
200
Success Response - You'll get the below response when the request is processed successfully.
Response: 200
{
"SuccessRecords": [
{
"RecordId": "9d71ae45-df5f-49f7-86f8-e88f54132fa1"
}
],
"ErrorRecords": null,
"Errors": null
}