Fix developer links and newly discovered spelling errors (#75875)
* Fix developer links Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fix newly discovered spelling errors Signed-off-by: Jack Baldry <jack.baldry@grafana.com> --------- Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
@@ -24,7 +24,7 @@ user must have the Grafana Admin role.
|
||||
|
||||
API Tokens can be used with Organization HTTP API to get users of specific organization.
|
||||
|
||||
> If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions]({{< relref "../../administration/roles-and-permissions/access-control/custom-role-actions-scopes/" >}}) for more information.
|
||||
> If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions][] for more information.
|
||||
|
||||
## Search Users
|
||||
|
||||
@@ -32,7 +32,7 @@ API Tokens can be used with Organization HTTP API to get users of specific organ
|
||||
|
||||
**Required permissions**
|
||||
|
||||
See note in the [introduction]({{< ref "#user-api" >}}) for an explanation.
|
||||
See note in the [introduction](#user-api) for an explanation.
|
||||
|
||||
| Action | Scope |
|
||||
| ---------- | --------------- |
|
||||
@@ -89,7 +89,7 @@ Content-Type: application/json
|
||||
**Example Response**:
|
||||
|
||||
```http
|
||||
HTTP/1.1 200
|
||||
HTTP/1.1 200
|
||||
Content-Type: application/json
|
||||
{
|
||||
```
|
||||
@@ -152,7 +152,7 @@ Content-Type: application/json
|
||||
GET /api/users/lookup?loginOrEmail=admin HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
Authorization: Basic YWRtaW46YWRtaW4=
|
||||
Authorization: Basic YWRtaW46YWRtaW4=
|
||||
```
|
||||
|
||||
Requires basic authentication and that the authenticated user is a Grafana Admin.
|
||||
@@ -198,7 +198,7 @@ Content-Type: application/json
|
||||
```
|
||||
|
||||
## Get Organizations for user
|
||||
|
||||
|
||||
`GET /api/users/:id/orgs`
|
||||
|
||||
**Required permissions**
|
||||
@@ -253,7 +253,7 @@ Content-Type: application/json
|
||||
Requires basic authentication and that the authenticated user is a Grafana Admin.
|
||||
|
||||
**Example Response**:
|
||||
|
||||
|
||||
```http
|
||||
HTTP/1.1 200
|
||||
Content-Type: application/json
|
||||
@@ -292,7 +292,7 @@ Content-Type: application/json
|
||||
Changes the password for the user. Requires basic authentication.
|
||||
|
||||
**Example Request**:
|
||||
|
||||
|
||||
```http
|
||||
PUT /api/user/password HTTP/1.1
|
||||
Accept: application/json
|
||||
@@ -330,7 +330,7 @@ Content-Type: application/json
|
||||
**Example Request**:
|
||||
|
||||
```http
|
||||
POST /api/users/7/using/2 HTTP/1.1
|
||||
POST /api/users/7/using/2 HTTP/1.1
|
||||
Authorization: Basic YWRtaW46YWRtaW4=
|
||||
```
|
||||
|
||||
@@ -683,3 +683,8 @@ Content-Type: application/json
|
||||
"message": "User auth token revoked"
|
||||
}
|
||||
```
|
||||
|
||||
{{% docs/reference %}}
|
||||
[Role-based access control permissions]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/administration/roles-and-permissions/access-control/custom-role-actions-scopes"
|
||||
[Role-based access control permissions]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/administration/roles-and-permissions/access-control/custom-role-actions-scopes"
|
||||
{{% /docs/reference %}}
|
||||
|
||||
Reference in New Issue
Block a user