Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions priv/www/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,9 +969,11 @@ <h2>Reference</h2>
<td></td>
<td class="path">/api/vhost-limits/<i>vhost</i>/<i>name</i></td>
<td>
Set or delete per-vost limit for <code>vhost</code> with <code>name</code>.
Limits are set using a JSON document in the body:
<pre>{"max-connections": 100, "max-queues": 200}</pre>
Set or delete per-vhost limit for <code>vhost</code>. The <code>name</code> URL path element
refers to the name of the limit (<code>max-connections</code>, <code>max-queues</code>).
Limits are set using a JSON document in the body: <pre>{"value": 100}</pre>. Example
request:</br>
<pre>curl -4u 'guest:guest' -H 'content-type:application/json' -X PUT localhost:15672/api/vhost-limits/my-vhost/max-connections -d '{"value": 50}'</pre>
</td>
</tr>
</table>
Expand Down