Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
omahs
2024-02-29 11:47:22 +01:00
committed by GitHub
parent f394e8333e
commit 2a429cd7db
11 changed files with 27 additions and 27 deletions

View File

@ -383,12 +383,12 @@ Content-Type: application/json
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
```
#### Status codes
| Code | Description |
| ---- | ---------------------------------------------------------------------------------- |
```
#### Status codes
| Code | Description |
| ---- | ---------------------------------------------------------------------------------- |
| 200 | Role is deleted. |
| 400 | Bad request (invalid json, missing content-type, missing or invalid fields, etc.). |
| 403 | Access denied |
@ -498,13 +498,13 @@ For more information, refer to [Create role validation errors]({{< ref "#create-
```http
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
```
#### Status codes
| Code | Description |
| ---- | -------------------------------------------------------------------- |
```
#### Status codes
| Code | Description |
| ---- | -------------------------------------------------------------------- |
| 200 | Set of assigned permissions is returned. |
| 403 | Access denied. |
| 500 | Unexpected error. Refer to body and/or server logs for more details. |
@ -532,7 +532,7 @@ Accept: application/json
```http
POST /api/access-control/users/1/roles
Accept: application/json
Content-Type: application/json
Content-Type: application/json
{
"global": false,