summary refs log tree commit diff
path: root/develop/admin_api
diff options
context:
space:
mode:
authorclokep <clokep@users.noreply.github.com>2021-11-09 21:11:29 +0000
committerclokep <clokep@users.noreply.github.com>2021-11-09 21:11:29 +0000
commit7eabe3c911b03fc7bd3b502458f5637a309b1492 (patch)
treeb2a3d24bacd3eaf6bb4a996e8f3325ae6ad5c999 /develop/admin_api
parentdeploy: b6f4d122efb86e3fc44e358cf573dc2caa6ff634 (diff)
downloadsynapse-7eabe3c911b03fc7bd3b502458f5637a309b1492.tar.xz
deploy: b09d90cac9179f84024d4cb3ab4574480c1fd1df
Diffstat (limited to 'develop/admin_api')
-rw-r--r--develop/admin_api/user_admin_api.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/develop/admin_api/user_admin_api.html b/develop/admin_api/user_admin_api.html
index 0efa1f241f..8e80b8e125 100644
--- a/develop/admin_api/user_admin_api.html
+++ b/develop/admin_api/user_admin_api.html
@@ -1110,7 +1110,7 @@ for more information.</p>
 <p>This endpoint will work even if registration is disabled on the server, unlike 
 <code>/_matrix/client/r0/register/available</code>.</p>
 <p>The API is:</p>
-<pre><code>POST /_synapse/admin/v1/username_availabile?username=$localpart
+<pre><code>GET /_synapse/admin/v1/username_available?username=$localpart
 </code></pre>
 <p>The request and response format is the same as the <a href="https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available">/_matrix/client/r0/register/available</a> API.</p>
 <p>To use it, you will need to authenticate by providing an <code>access_token</code> for a