Skip to main content

admin_create_token_route

Function admin_create_token_route 

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

ยงPOST /_synapse/admin/v1/registration_tokens/new

A duplicate token is rejected with 400, not 409.