Skip to end of banner
Go to start of banner

How to add a page as a child page using Confluence Command Line Interface

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

This article explains how to add a page as child page of an existing page using Confluence CLI app.

Instructions

Use the addPage action to add a new page.  addPage action is used to create a page as a child page and place it under a parent page in a space.

  1. Run the below CLI action command that creates a new page under a specific parent page:

    --action addPage --space "TAS" --title "Test-child" --content "This is a test page." --parent "Test-parent"
    As a result of the CLI action, it creates the page "Test-child" under the parent page "Test-parent" as shown below:




    The following parameters are used in the above action:

    • space - Specify the space key where the new page is going to be created.
    • title - Specify a title to the child page. 
    • content - Specify your content to the page while it gets created.
    • parent - Specify the parent page name which is existing in the space already.
  • No labels