This is proving to be a challenge due to the complexity of MAS and Synapse with API auth levels and scopes.
https://element-hq.github.io/matrix-authentication-service/topics/admin-api.html
https://element-hq.github.io/synapse/latest/?search=can_request_admin
https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#login-as-a-user
https://mas.eom.dev/api/doc/#/user/getUserByUsername
It was significantly easier to use the CLI. I'll leave this open as doing so through the API is still not working.
https://element-hq.github.io/matrix-authentication-service/reference/cli/manage.html
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This is needed to allow bot accounts to log in to Matrix.
This is proving to be a challenge due to the complexity of MAS and Synapse with API auth levels and scopes.
https://element-hq.github.io/matrix-authentication-service/topics/admin-api.html
https://element-hq.github.io/synapse/latest/?search=can_request_admin
https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#login-as-a-user
https://mas.eom.dev/api/doc/#/user/getUserByUsername
It was significantly easier to use the CLI. I'll leave this open as doing so through the API is still not working.
https://element-hq.github.io/matrix-authentication-service/reference/cli/manage.html