Fix all the old usage of admonition syntax (#107098)

This commit is contained in:
Jack Baldry
2025-06-27 11:28:14 +01:00
committed by GitHub
parent 7307a2bdbe
commit a113d04fb9
161 changed files with 721 additions and 721 deletions
+8 -8
View File
@@ -21,18 +21,18 @@ title: 'Authentication HTTP API '
The Authentication HTTP API is used to manage API keys.
{{% admonition type="note" %}}
{{< admonition type="note" >}}
Grafana recommends using service accounts instead of API keys. For more information, refer to [Grafana service account API reference](../serviceaccount/).
{{% /admonition %}}
{{< /admonition >}}
> If you are running Grafana Enterprise, for some endpoints you would need to have relevant permissions. Refer to [Role-based access control permissions](../../../administration/roles-and-permissions/access-control/custom-role-actions-scopes/) for more information.
## List API keys
{{% admonition type="warning" %}}
{{< admonition type="warning" >}}
This endpoint is deprecated.
{{% /admonition %}}
{{< /admonition >}}
`GET /api/auth/keys`
@@ -80,10 +80,10 @@ Content-Type: application/json
## Create API Key
{{% admonition type="warning" %}}
{{< admonition type="warning" >}}
This endpoint has been made obsolete in Grafana 11.3.0.
{{% /admonition %}}
{{< /admonition >}}
Endpoint is obsolete and has been moved to [Grafana service account API](../serviceaccount/). For more information, refer to [Migrate to Grafana service account API](/docs/grafana/<GRAFANA_VERSION>/administration/service-accounts/migrate-api-keys/).
@@ -100,11 +100,11 @@ Content-Type: application/json
## Delete API Key
{{% admonition type="warning" %}}
{{< admonition type="warning" >}}
### DEPRECATED
{{% /admonition %}}
{{< /admonition >}}
`DELETE /api/auth/keys/:id`