infrastructure/1984vps/scripts/synapse/removemedia.sh
2023-01-23 15:23:38 +00:00

2 lines
166 B
Bash

#!/bin/bash
docker exec -it synapse curl --header "Authorization: Bearer TOKEN" -X POST http://0.0.0.0:8008/_synapse/admin/v1/purge_media_cache?before_ts=TIME-IN-UNIX