summary refs log tree commit diff
path: root/develop/usage
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2021-10-15 09:57:03 +0000
committerbabolivier <babolivier@users.noreply.github.com>2021-10-15 09:57:03 +0000
commita8d3dc70a30c603cdbbfd6a3b0766833783cfbbf (patch)
tree3626c3d6d348c3a67243c829788b0fcdba0d9c11 /develop/usage
parentdeploy: 404444260a89f18265c34b75ba7f64ab09e3a39c (diff)
downloadsynapse-a8d3dc70a30c603cdbbfd6a3b0766833783cfbbf.tar.xz
deploy: 013e0f9caeac4ff45a5653cb56ac66cfd5ab482a
Diffstat (limited to 'develop/usage')
-rw-r--r--develop/usage/administration/admin_api/registration_tokens.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/develop/usage/administration/admin_api/registration_tokens.html b/develop/usage/administration/admin_api/registration_tokens.html
index a2455fde4e..f2992a7195 100644
--- a/develop/usage/administration/admin_api/registration_tokens.html
+++ b/develop/usage/administration/admin_api/registration_tokens.html
@@ -306,7 +306,7 @@ token will be returned as a registration token object in the response body.</p>
 <p>The request body must be a JSON object and can contain the following fields:</p>
 <ul>
 <li><code>token</code>: The registration token. A string of no more than 64 characters that
-consists only of characters matched by the regex <code>[A-Za-z0-9-_]</code>.
+consists only of characters matched by the regex <code>[A-Za-z0-9._~-]</code>.
 Default: randomly generated.</li>
 <li><code>uses_allowed</code>: The integer number of times the token can be used to complete
 a registration before it becomes invalid.