@Saanvi_dhillon Design A.
It expresses the operation directly. You are deleting a resource, so HTTP DELETE communicates that intent clearly.
And also even if you want to do a soft deletion like design B. Use Design A as it shows clear intent, and let the backend perform soft deletion internally
@Saanvi_dhillon Just try shipping AI codes to production first and watch your whole world turn to ash. Mostly AI is good for boiler plates and creating designs so you don't waste time. And also occasionally makes debugging faster so you won't be stuck for 2weeks cause u forgot a semi colon π€£π€£