Docs: Clarifying information about using the API for license renewal (#105879)

Docs: Clarifying information about using the API for licnese renewal
This commit is contained in:
Jacob Valdez
2025-05-22 15:46:18 -05:00
committed by GitHub
parent 98ee83bf3f
commit 73e971eedc
+26 -12
View File
@@ -112,22 +112,36 @@ Content-Type: application/json
```
The response is a JSON blob available for debugging purposes. The
available fields may change at any time without any prior notice.
Status Codes:
- **200** - OK
- **400** - Bad request
- **500** - Internal server error (refer to server logs for more details)
## Manually force license refresh
The response is a JSON blob with specific values intentionally not shown. The
available fields may change at any time without any prior notice. Refer to [Check license availability](#check-license-availability) for information on using the API to check the status of your license.
Status Codes:
- **200** - OK
- **400** - Bad request
- **500** - Internal server error (refer to server logs for more details)
## Manually force license refresh
{{% admonition type="note" %}}
Available in Grafana Enterprise v7.4+.
{{% /admonition %}}
`POST /api/licensing/token/renew`
Manually ask license issuer for a new token.
**Required permissions**
See note in the [introduction](#enterprise-license-api) for an explanation.
| Action | Scope |
| --------------- | ----- |
| licensing:write | n/a |
### Examples
`POST /api/licensing/token/renew`
**Example request:**
```http
POST /api/licensing/token/renew