curl -sS 'https://matrix.example.com/_synapse/admin/v1/purge_history_status/purge_123456' -H "Authorization: Bearer $ACCESS_TOKEN"

Category: Matrix & Synapse

curl -sS 'https://matrix.example.com/_synapse/admin/v1/purge_history_status/purge_123456' -H "Authorization: Bearer $ACCESS_TOKEN"

Check a history purge's progress

Returns active, complete, or failed for the purge job identified by the purge_id from the purge_history call. While a purge runs, users cannot paginate past the point being removed. Poll until complete before starting another purge on the same room. A failed purge includes an error message.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.