MXS-2824: Document basic user privileges

The documentation was not clear on what the difference between admin and
basic accounts is.
This commit is contained in:
Markus Mäkelä
2020-01-07 09:57:15 +02:00
parent 6306519e5e
commit edb49d6f35
2 changed files with 6 additions and 1 deletions

View File

@ -195,6 +195,10 @@ following fields.
* `data.attributes.account`
* Set to `admin` for administrative users and `basic` to read-only users
Only admin accounts can perform POST, PUT, DELETE and PATCH requests. If a basic
account performs one of the aforementioned request, the REST API will respond
with a `401 Unauthorized` error.
Here is an example request body defining the network user _my-user_ with the
password _my-password_ that is allowed to execute only read-only operations.