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