1
0

purge_remote_media.rst 468 B

1234567891011121314151617
  1. Purge Remote Media API
  2. ======================
  3. The purge remote media API allows server admins to purge old cached remote
  4. media.
  5. The API is::
  6. POST /_matrix/client/r0/admin/purge_media_cache?before_ts=<unix_timestamp_in_ms>&access_token=<access_token>
  7. {}
  8. Which will remove all cached media that was last accessed before
  9. ``<unix_timestamp_in_ms>``.
  10. If the user re-requests purged remote media, synapse will re-request the media
  11. from the originating server.