add rest method delete attachment