From 7eabe3c911b03fc7bd3b502458f5637a309b1492 Mon Sep 17 00:00:00 2001 From: clokep Date: Tue, 9 Nov 2021 21:11:29 +0000 Subject: deploy: b09d90cac9179f84024d4cb3ab4574480c1fd1df --- develop/admin_api/user_admin_api.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'develop/admin_api/user_admin_api.html') 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.

This endpoint will work even if registration is disabled on the server, unlike /_matrix/client/r0/register/available.

The API is:

-
POST /_synapse/admin/v1/username_availabile?username=$localpart
+
GET /_synapse/admin/v1/username_available?username=$localpart
 

The request and response format is the same as the /_matrix/client/r0/register/available API.

To use it, you will need to authenticate by providing an access_token for a -- cgit 1.5.1