Skip to main content

admin_update_token_route

Function admin_update_token_route 

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

ยงPUT /_synapse/admin/v1/registration_tokens/{token}

Only the cap and expiry are updatable; an omitted field is left unchanged and an explicit null clears it.