diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-08-11 21:29:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 19:29:59 +0000 |
commit | 915b37e5efd4e0fb9e57ce9895300017b4b3dd43 (patch) | |
tree | 875767cf231fbb8003ac1e61e9780393c272125e /docs/admin_api/media_admin_api.md | |
parent | Allow requesting the summary of a space which is joinable. (#10580) (diff) | |
download | synapse-915b37e5efd4e0fb9e57ce9895300017b4b3dd43.tar.xz |
Admin API to delete media for a specific user (#10558)
Diffstat (limited to 'docs/admin_api/media_admin_api.md')
-rw-r--r-- | docs/admin_api/media_admin_api.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/admin_api/media_admin_api.md b/docs/admin_api/media_admin_api.md index 61bed1e0d5..ea05bd6e44 100644 --- a/docs/admin_api/media_admin_api.md +++ b/docs/admin_api/media_admin_api.md @@ -12,6 +12,7 @@ - [Delete local media](#delete-local-media) * [Delete a specific local media](#delete-a-specific-local-media) * [Delete local media by date or size](#delete-local-media-by-date-or-size) + * [Delete media uploaded by a user](#delete-media-uploaded-by-a-user) - [Purge Remote Media API](#purge-remote-media-api) # Querying media @@ -47,7 +48,8 @@ The API returns a JSON body like the following: ## List all media uploaded by a user Listing all media that has been uploaded by a local user can be achieved through -the use of the [List media of a user](user_admin_api.md#list-media-of-a-user) +the use of the +[List media uploaded by a user](user_admin_api.md#list-media-uploaded-by-a-user) Admin API. # Quarantine media @@ -281,6 +283,11 @@ The following fields are returned in the JSON response body: * `deleted_media`: an array of strings - List of deleted `media_id` * `total`: integer - Total number of deleted `media_id` +## Delete media uploaded by a user + +You can find details of how to delete multiple media uploaded by a user in +[User Admin API](user_admin_api.md#delete-media-uploaded-by-a-user). + # Purge Remote Media API The purge remote media API allows server admins to purge old cached remote media. |