Skip to content

Commit 4014e1b

Browse files
Merge pull request #10248 from rabbitmq/mergify/bp/v3.11.x/pr-10247
Defined "tags" as list in /api/users/name (backport #10246) (backport #10247)
2 parents 5e34746 + 1077800 commit 4014e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_management/priv/www/api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ <h2>Reference</h2>
751751
<td>An individual user. To PUT a user, you will need a body looking something like this:
752752
<pre>{"password":"secret","tags":"administrator"}</pre>
753753
or:
754-
<pre>{"password_hash":"2lmoth8l4H0DViLaK9Fxi6l9ds8=", "tags":"administrator"}</pre>
754+
<pre>{"password_hash":"2lmoth8l4H0DViLaK9Fxi6l9ds8=", "tags":["administrator"]}</pre>
755755
The <code>tags</code> key is mandatory. Either
756756
<code>password</code> or <code>password_hash</code>
757757
can be set. If neither are set the user will not be able to log in with a password,

0 commit comments

Comments
 (0)