diff --git a/src/FusionAuth/FusionAuthClient.php b/src/FusionAuth/FusionAuthClient.php index 9bd00c6..3a702f8 100644 --- a/src/FusionAuth/FusionAuthClient.php +++ b/src/FusionAuth/FusionAuthClient.php @@ -4291,6 +4291,22 @@ public function retrieveTotalReport() ->go(); } + /** + * Retrieves the totals report. This allows excluding applicationTotals from the report. An empty list will include the applicationTotals. + * + * @param array $excludes List of fields to exclude in the response. Currently only allows applicationTotals. + * + * @return ClientResponse The ClientResponse. + * @throws \Exception + */ + public function retrieveTotalReportWithExcludes($excludes) + { + return $this->start()->uri("/api/report/totals") + ->urlParameter("excludes", $excludes) + ->get() + ->go(); + } + /** * Retrieve two-factor recovery codes for a user. *