fixed the issue with DELETE on /agents/:id , Dev Task : CSH-1612