Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Workspace & Portfolios/batch_delete_cross_product_edges

batch_delete_cross_product_edges

Delete up to 50 cross-product edges from `.upg/portfolio.upg` by id in one atomic write (the inverse of batch_create_cross_product_edges). All ids are removed, then a single portfolio flush persists the batch, so retiring a wave of superseded edges costs one write instead of one per id. A missing id is reported deleted: false, not an error, so the call is idempotent. Get ids from list_portfolio_cross_edges.

Workspace & Portfoliosatomic (single portfolio.upg flush).

Arguments

edge_idsarrayrequired

Cross-product edge ids to delete (max 50, from list_portfolio_cross_edges).

Returns

Shape
{ message, deleted: [{ edge_id, deleted, edge? }], count, counts }

See Also