curl -sS -X POST 'https://matrix.example.com/_synapse/admin/v1/media/unquarantine/example.com/abcde12345' -H "Authorization: Bearer $ACCESS_TOKEN" -d '{}'

Category: Matrix & Synapse

curl -sS -X POST 'https://matrix.example.com/_synapse/admin/v1/media/unquarantine/example.com/abcde12345' -H "Authorization: Bearer $ACCESS_TOKEN" -d '{}'

Unquarantine a media file

Restores normal access to media that was previously quarantined, reversing the 404-on-download behaviour. Useful after reviewing content that turned out to be harmless. The media ID comes from the mxc:// URI. Pair with the quarantine endpoint to toggle access.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.