Are you trying to use a POST request or a DELETE request? The code snippet shows an HTTP DELETE but your question pertains to an HTTP POST, which is causing a bit of confusion.
async deleteGuide(id: string): Promise<void>{ const result = await this.guideRepository.delete(id); if(result.affected === 0){ throw new NotFoundException(Guide with ID "$id" not found); } } This is how my GuidesService looks like and also I'm using PostgreSql @KimKern
Guide with ID "$id" not found); } } This is how my GuidesService looks like and also I'm using PostgreSql @KimKern@Post(':id')instead of the DELETE one if you want to use a POST request.