/** * Remove the specified Prefix from storage. * DELETE /prefixes/{id} * * @param int $id * * @return Response */ public function destroy($id) { $this->prefixRepository->apiDeleteOrFail($id); return $this->sendResponse($id, "Prefix deleted successfully"); }