---
title: "Refresh license stats."
method: GET
path: "/licensing/refresh-stats"
tags: ["licensing", "enterprise"]
---

# Refresh license stats.

`GET /licensing/refresh-stats`

You need to have a permission with action `licensing:read`.

## Response `200`

(empty)

- ActiveUserStats
  - `active_admins_and_editors` integer
  - `active_anonymous_devices` integer
  - `active_users` integer
  - `active_viewers` integer

## Other responses

- `500` — InternalServerError is a general error indicating something went wrong internally.

---

[API](https://skmtc.net/grafana/apis/http-api.md) · [All operations](https://skmtc.net/grafana/apis/http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafana/http-api/versions/df55ba1718ba/schema)
