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
```http
HTTP/1.1 410
Content-Type: application/json
Content-Type: application/json
```
## Delete API Key
{{< admonition type="warning" >}}
@@ -100,11 +100,11 @@ Content-Type: application/json
| Action | Scope |
| ---------------- | ---------- |
| `apikeys:delete` | apikeys:\* |
| `apikeys:delete` | apikeys:\* |
**Example Request**:
```http
```http
DELETE /api/auth/keys/3 HTTP/1.1
Accept: application/json
Content-Type: application/json