curl -sS -X POST 'https://matrix.example.com/_synapse/admin/v1/users/@alice:example.com/override_ratelimit' -H "Authorization: Bearer $ACCESS_TOKEN" -d '{"messages_per_second":0,"burst_count":0}'

Category: Matrix & Synapse

curl -sS -X POST 'https://matrix.example.com/_synapse/admin/v1/users/@alice:example.com/override_ratelimit' -H "Authorization: Bearer $ACCESS_TOKEN" -d '{"messages_per_second":0,"burst_count":0}'

Disable rate limiting for a user

Setting both messages_per_second and burst_count to 0 removes all rate limits for that user, which is useful for trusted bots that send bursts of traffic. This override applies to every client of the account, so use it sparingly. Restore limits with the DELETE variant, which clears the override and falls back to the global configuration.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.