when a forum reply is deleted all the other forum reply attachments are deleting


we are creating some reply with the rest forum replies API with an  attachments, the replies are posted to the community as expected.

But when we try to delete one of the replies from the web itself the reply is going to be deleted as expected, but it also removes the attachments of all the other replies.

we are on and using the below request 

curl --location --request POST 'http://mycommunity.com/api.ashx/v2/forums/threads/1/replies.json' \
--header 'Rest-User-Token: NW1wZTlmbGlkOG9oZDJocDk2OGYwc3kwdGEyaXE6YWRtaW4=' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'ContentType=image/jpeg' \
--data-urlencode 'FileName=image3.jpg' \
--data-urlencode 'Body=eighth attachment' \
--data-urlencode 'FileData=yourfiledata'

Screenshot before delete:

screenshot after delete