Skip to content

uc-apx delete page-item

Delete a pageItem construct from the named page’s .apx file. The lookup accepts either the item’s construct id (commonly the apexlang name like P50_USERNAME) or its name: property. Blocks when references exist; —force to override.

uc-apx delete page-item <name-or-id> [flags]
FlagTypeDefaultDescription
--dry-runShow what would be deleted without writing
--forceDelete even when other constructs reference the target (lists referrers as a warning)
--pagestringTarget page (numeric ID, alias, or name) [required]
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