You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Document which admin APIs are disabled when experimental [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) support is enabled.
Copy file name to clipboardExpand all lines: docs/admin_api/user_admin_api.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ The following parameters should be set in the URL:
218
218
-`name` - Is optional and filters to only return users with user ID localparts
219
219
**or** displaynames that contain this value.
220
220
-`guests` - string representing a bool - Is optional and if `false` will **exclude** guest users.
221
-
Defaults to `true` to include guest users.
221
+
Defaults to `true` to include guest users. This parameter is not supported when MSC3861 is enabled. [See #15582](https://github.com/matrix-org/synapse/pull/15582)
222
222
-`admins` - Optional flag to filter admins. If `true`, only admins are queried. If `false`, admins are excluded from
223
223
the query. When the flag is absent (the default), **both** admins and non-admins are included in the search results.
224
224
-`deactivated` - string representing a bool - Is optional and if `true` will **include** deactivated users.
@@ -390,6 +390,8 @@ The following actions are **NOT** performed. The list may be incomplete.
390
390
391
391
## Reset password
392
392
393
+
**Note:** This API is disabled when MSC3861 is enabled. [See #15582](https://github.com/matrix-org/synapse/pull/15582)
394
+
393
395
Changes the password of another user. This will automatically log the user out of all their devices.
394
396
395
397
The api is:
@@ -413,6 +415,8 @@ The parameter `logout_devices` is optional and defaults to `true`.
413
415
414
416
## Get whether a user is a server administrator or not
415
417
418
+
**Note:** This API is disabled when MSC3861 is enabled. [See #15582](https://github.com/matrix-org/synapse/pull/15582)
419
+
416
420
The api is:
417
421
418
422
```
@@ -430,6 +434,8 @@ A response body like the following is returned:
430
434
431
435
## Change whether a user is a server administrator or not
432
436
437
+
**Note:** This API is disabled when MSC3861 is enabled. [See #15582](https://github.com/matrix-org/synapse/pull/15582)
438
+
433
439
Note that you cannot demote yourself.
434
440
435
441
The api is:
@@ -723,6 +729,8 @@ delete largest/smallest or newest/oldest files first.
723
729
724
730
## Login as a user
725
731
732
+
**Note:** This API is disabled when MSC3861 is enabled. [See #15582](https://github.com/matrix-org/synapse/pull/15582)
733
+
726
734
Get an access token that can be used to authenticate as that user. Useful for
727
735
when admins wish to do actions on behalf of a user.
0 commit comments