Defined "tags" as list

Typo spotted in #4050
This commit is contained in:
Ariel Otilibili 2023-12-27 22:47:52 +01:00
parent 89cd282745
commit 0b24d3c0bb
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ vary: accept, accept-encoding, origin</pre>
<td>An individual user. To PUT a user, you will need a body looking something like this:
<pre>{"password":"secret","tags":"administrator"}</pre>
or:
<pre>{"password_hash":"2lmoth8l4H0DViLaK9Fxi6l9ds8=", "tags":"administrator"}</pre>
<pre>{"password_hash":"2lmoth8l4H0DViLaK9Fxi6l9ds8=", "tags":["administrator"]}</pre>
The <code>tags</code> key is mandatory. Either
<code>password</code> or <code>password_hash</code>
can be set. If neither are set the user will not be able to log in with a password,