From 74b65bfc5f3c58005e3892b314e73cfde32355f6 Mon Sep 17 00:00:00 2001
From: erikjohnston
URL Parameters
server_name
: string - The name of your local server (e.g matrix.org
).before_ts
: string representing a positive integer - Unix timestamp in ms.
+before_ts
: string representing a positive integer - Unix timestamp in milliseconds.
Files that were last used before this timestamp will be deleted. It is the timestamp of
-last access and not the timestamp creation.size_gt
: Optional - string representing a positive integer - Size of the media in bytes.
Files that are larger will be deleted. Defaults to 0
.keep_profiles
: Optional - string representing a boolean - Switch to also delete files
@@ -406,7 +406,7 @@ If false
these files will be deleted. Defaults to true
URL Parameters
unix_timestamp_in_ms
: string representing a positive integer - Unix timestamp in ms.
+unix_timestamp_in_ms
: string representing a positive integer - Unix timestamp in milliseconds.
All cached media that was last accessed before this timestamp will be removed.Response:
diff --git a/latest/admin_api/purge_history_api.html b/latest/admin_api/purge_history_api.html index 69206b5095..f8ae5868d0 100644 --- a/latest/admin_api/purge_history_api.html +++ b/latest/admin_api/purge_history_api.html @@ -99,7 +99,7 @@ diff --git a/latest/admin_api/register_api.html b/latest/admin_api/register_api.html index f7d344f1c3..4206225eae 100644 --- a/latest/admin_api/register_api.html +++ b/latest/admin_api/register_api.html @@ -99,7 +99,7 @@ diff --git a/latest/admin_api/room_membership.html b/latest/admin_api/room_membership.html index 7406a148b7..c16ed2e015 100644 --- a/latest/admin_api/room_membership.html +++ b/latest/admin_api/room_membership.html @@ -99,7 +99,7 @@ diff --git a/latest/admin_api/rooms.html b/latest/admin_api/rooms.html index ba798260e6..b17fb730ea 100644 --- a/latest/admin_api/rooms.html +++ b/latest/admin_api/rooms.html @@ -99,7 +99,7 @@ diff --git a/latest/admin_api/server_notices.html b/latest/admin_api/server_notices.html index 40abf53bd3..819e2bdb39 100644 --- a/latest/admin_api/server_notices.html +++ b/latest/admin_api/server_notices.html @@ -99,7 +99,7 @@ diff --git a/latest/admin_api/statistics.html b/latest/admin_api/statistics.html index 2761c007d0..3b8e9d1667 100644 --- a/latest/admin_api/statistics.html +++ b/latest/admin_api/statistics.html @@ -99,7 +99,7 @@ diff --git a/latest/admin_api/user_admin_api.html b/latest/admin_api/user_admin_api.html index 65b9cfe00e..02c27d25d2 100644 --- a/latest/admin_api/user_admin_api.html +++ b/latest/admin_api/user_admin_api.html @@ -99,7 +99,7 @@ @@ -225,7 +225,8 @@ server admin: Admin API "auth_provider": "<provider2>", "external_id": "<user_id_provider_2>" } - ] + ], + "user_type": null }URL parameters:
@@ -264,7 +265,8 @@ specificuser_id
.
],
"avatar_url": "<avatar_url>",
"admin": false,
- "deactivated": false
+ "deactivated": false,
+ "user_type": null
}
To use it, you will need to authenticate by providing an access_token
for a
@@ -307,6 +309,9 @@ in homeserver configuration.
false
for new accounts.
A user cannot be erased by deactivating with this API. For details on
deactivating users see Deactivate Account.
+user_type
- string or null, optional. If provided, the user type will be
+adjusted. If null
given, the user type will be cleared. Other
+allowed options are: bot
and support
.If the user already exists then optional parameters default to the current value.
In order to re-activate an account deactivated
must be set to false
. If
@@ -494,6 +499,7 @@ An empty body may be passed for backwards compatibility.
true
:
The following actions are NOT performed. The list may be incomplete.
+Changes the password of another user. This will automatically log the user out of all their devices.
The api is:
diff --git a/latest/admin_api/version_api.html b/latest/admin_api/version_api.html index c31d017f76..f1f0b6b10c 100644 --- a/latest/admin_api/version_api.html +++ b/latest/admin_api/version_api.html @@ -99,7 +99,7 @@ -- cgit 1.5.1