Skip to main content

delete_device

Function delete_device 

Source
pub async fn delete_device(
    __arg0: State<HardwareCtx>,
    __arg1: Path<String>,
) -> (StatusCode, Json<Value>)
Expand description

DELETE /api/hardware/devices/:id — revoke a device (delete it + its token).