Skip to content

uc-apx edit page

Edit a page construct in place. Supports two independent edits (one per invocation):

Page-group membership: uc-apx edit page —page 65 —page-group reports # assign/move the page to a group uc-apx edit page —page 65 —clear-page-group # remove the page’s group

Page-level authorization: uc-apx edit page —page 50 —authz administration-rights # gate the page uc-apx edit page —page 50 —authz "" # remove page authorization

The group named by —page-group must already exist (create it with uc-apx create page-group). The authz scheme id is upserted into the page’s top-level security { authorizationScheme } block; sibling security properties (pageAccessProtection, …) are left intact.

uc-apx edit page [flags]
FlagTypeDefaultDescription
--authzstringAuthorization scheme id to set on the page; pass "" to remove
--clear-page-groupRemove the page’s pageGroup property (idempotent).
--dry-runPrint the rewritten file content to stdout without writing
--pagestringPage to edit: numeric id, alias, or name [required]
--page-groupstringAssign the page to this page group (id or display name). Strip a leading @ if present.
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