Skip to main content

admin_make_room_admin_route

Function admin_make_room_admin_route 

Source
pub(crate) async fn admin_make_room_admin_route(
    __arg0: State<State>,
    body: Ruma<Request>,
) -> Result<Response>
Expand description

ยงPOST /_synapse/admin/v1/rooms/{room_id_or_alias}/make_room_admin

Grants room admin powers to a user by impersonating the highest-powered local member. The target defaults to the requesting admin.