From 6d4ab8fb90ae2eaa3393dcbd37c83c486202b347 Mon Sep 17 00:00:00 2001 From: DMRobertson Date: Tue, 27 Sep 2022 12:50:14 +0000 Subject: deploy: 3853011d01ad3f5034f53a9dfb7a06e36cf70ae9 --- latest/admin_api/user_admin_api.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'latest/admin_api/user_admin_api.html') diff --git a/latest/admin_api/user_admin_api.html b/latest/admin_api/user_admin_api.html index adeefc21dc..108ce7bd62 100644 --- a/latest/admin_api/user_admin_api.html +++ b/latest/admin_api/user_admin_api.html @@ -181,6 +181,7 @@ for a server admin: see Admin APItrue:

  • Remove the user's creation (registration) timestamp
  • Remove rate limit overrides
  • Remove from monthly active users
  • +
  • Remove user's consent information (consent version and timestamp)
  • Reset password

    Changes the password of another user. This will automatically log the user out of all their devices.

    @@ -1136,6 +1138,30 @@ for more information.

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

    +

    Find a user based on their ID in an auth provider

    +

    The API is:

    +
    GET /_synapse/admin/v1/auth_providers/$provider/users/$external_id
    +
    +

    When a user matched the given ID for the given provider, an HTTP code 200 with a response body like the following is returned:

    +
    {
    +    "user_id": "@hello:example.org"
    +}
    +
    +

    Parameters

    +

    The following parameters should be set in the URL:

    + +

    The external_id may have characters that are not URL-safe (typically /, : or @), so it is advised to URL-encode those parameters.

    +

    Errors

    +

    Returns a 404 HTTP status code if no user was found, with a response body like this:

    +
    {
    +    "errcode":"M_NOT_FOUND",
    +    "error":"User not found"
    +}
    +
    +

    Added in Synapse 1.68.0.

    -- cgit 1.5.1