docs/serviceaccount.md - Incorrect key "role" for creating token (#68809)

The key "role" in the JSON body doesn't make sense for creating service account *tokens* (and the method will happily create one without it). It is only required for creating the service account itself.
This commit is contained in:
Frederic Hemberger
2023-06-30 16:14:31 +01:00
committed by GitHub
parent 3eaee12e3e
commit ad8211cce7
@@ -106,7 +106,7 @@ Authorization: Basic YWRtaW46YWRtaW4=
{
"name": "grafana",
"role": "Viewer",
"isDisabled" : false
"isDisabled": false
}
```
@@ -440,8 +440,7 @@ Content-Type: application/json
Authorization: Basic YWRtaW46YWRtaW4=
{
"name": "grafana",
"role": "Viewer"
"name": "grafana"
}
```