curl -sS -X PUT 'https://matrix.example.com/_synapse/admin/v1/registration_tokens/abcd' -H "Authorization: Bearer $ACCESS_TOKEN" -d '{"uses_allowed":5}'

Category: Matrix & Synapse

curl -sS -X PUT 'https://matrix.example.com/_synapse/admin/v1/registration_tokens/abcd' -H "Authorization: Bearer $ACCESS_TOKEN" -d '{"uses_allowed":5}'

Update a registration token

Adjusts how many more uses a token allows or moves its expiry time, without revoking it. Handy when a shared invite link gets more interest than expected. Fields you omit keep their current values. The DELETE variant revokes the token outright.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.