Delete a button construct from the named page’s .apx file. Blocks when
references exist (e.g. a dynamicAction triggered by this button); —force
to override.
uc-apx delete button <id-or-name> [flags]
Flag Type Default Description --dry-runShow what would be deleted without writing --forceDelete even when other constructs reference the target (lists referrers as a warning) --pagestring Target page (numeric ID, alias, or name) [required]
Flag Type Default Description --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