Change response and add API Rest Delete function