Fixed the DELETE method for the attachment resource