Skip to main content
Version: v5.7.0

opschain admin packs delete

Included from Basic tier

Deletes one installed pack version from the store. Deletion is always explicit and refuses by name while the version is still needed:

  • while the version is pinned — clear the pin first;
  • while any template version or run still references it — those sealed sets must keep resolving the exact content they pinned, so re-pin the template versions to another installed version first.

Prior versions are retention, not clutter: keeping them is what makes rollback a re-pin. Delete when a version is truly retired.

opschain admin packs delete opschain-pack-infrastructure 1.2.2
Deleted opschain-pack-infrastructure version 1.2.2

-o, --output json|yaml emits {"name": "...", "version": "...", "deleted": true}.

Flags​

FlagMeaning
--server <url>Server base URL (default: the active context / OPSCHAIN_SERVER).
--auth-token <token>Admin bearer token override (default: your opschain login session, then $OPSCHAIN_ADMIN_TOKEN, then the token stored by opschain admin login).

See also​

  • opschain docs cli/admin-packs — the family overview.
  • opschain docs cli/admin-packs-pin — the rollback lever.