curl -sS 'https://matrix.example.com/_synapse/admin/v1/users/@alice:example.com/media' -H "Authorization: Bearer $ACCESS_TOKEN"

Category: Matrix & Synapse

curl -sS 'https://matrix.example.com/_synapse/admin/v1/users/@alice:example.com/media' -H "Authorization: Bearer $ACCESS_TOKEN"

List media uploaded by a user

Shows local files the user uploaded: media ID, MIME type, size, upload name, and timestamps. Newest items come first by default; paginate with from and limit. To find the biggest media consumers across all users, use the statistics endpoint instead. Deleting their account does not delete this media automatically.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.