Skip to content

uc-apx delete page-group

Delete a top-level pageGroup construct from page-groups.apx. Blocks when any page still references the group via pageGroup: @<id> (those pages are listed); —force to override. Forcing leaves the referencing pages with a now-dangling pageGroup reference, which SQLcl’s apex validate --official will likely reject — clear or reassign them first with uc-apx edit page --clear-page-group.

uc-apx delete page-group <id-or-name> [flags]
FlagTypeDefaultDescription
--dry-runShow what would be deleted without writing
--forceDelete even when other constructs reference the target
FlagTypeDefaultDescription
--app-dirstring.Path to the APEX application directory
--json-prettyOutput in pretty-printed JSON (human-readable) instead of minified JSON
--toonOutput in TOON format (human-readable, token-efficient) instead of JSON