pub async fn toggle_linky_sync(
auth: AuthenticatedUser,
path: Path<Uuid>,
body: Json<Value>,
linky_use_cases: Data<Arc<LinkyUseCases>>,
) -> Result<HttpResponse>Expand description
Toggle sync for a Linky device
PUT /api/v1/iot/linky/buildings/{building_id}/sync/toggle
Request body:
{
"enabled": true
}