public function C_RemoveAllClient() { $client = new Client(); if ($client->removeClient($name)) { return response()->json(['status' => 'success'], 200); } else { return response()->json(['status' => 'Client not found'], 404); } }