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).
pub async fn delete_device(
__arg0: State<HardwareCtx>,
__arg1: Path<String>,
) -> (StatusCode, Json<Value>)DELETE /api/hardware/devices/:id — revoke a device (delete it + its token).