Skip to main content

revoke_otp

Function revoke_otp 

Source
pub async fn revoke_otp(
    _admin: AdminAuth,
    __arg1: Path<String>,
    __arg2: State<Arc<AppState>>,
) -> Response
Expand description

DELETE /admin/otp/{id} — Revoke an OTP.

Immediately invalidates the specified OTP, preventing any further enrollment attempts using it.