Update a Confluence Page

Updates an existing page in Confluence by its ID. You can modify its title, content, parent, and other properties.

yaml
type: "io.kestra.plugin.confluence.pages.Update"

Update the title and content of a specific Confluence page.

yaml
id: "update"
type: "io.kestra.plugin.confluence.pages.Update"
    id: update-confluence-page
    namespace: company.team

    tasks:
        - id: 1
          type: io.kestra.plugin.confluence.pages.Update
          serverUrl: https://your-domain.atlassian.net
          username: user@example.com
          apiToken: "{{ secret('CONFLUENCE_API_TOKEN') }}"
          pageId: 12345678
          status: current
          title: New Page Title
          markdown: # My Updated Content\nThis is the new content for the page.
          version:
            number: 2
            message: Updated content and title via Kestra.
Properties

Confluence API Token for authentication.

API token generated in Confluence (Atlassian account) used for authentication.

Markdown content to upload

The Markdown content to publish on the page.

Page ID

The unique identifier of the page to update. Must match the path parameter id.

URL of the Confluence server.

Base URL of the Confluence instance (e.g., https://your-domain.atlassian.net/wiki).

Page Status

The updated status of the page. Valid values: current, draft. Changing from current to draft deletes any existing draft.

Page Title

The updated title of the page.

Username (email) for authentication.

Confluence account email address used for API authentication.

Version Information

Defines version details for the page update. The number represents the version number, and message is an optional version comment.

Owner Account ID

The account ID of the page owner. Used to transfer ownership to another user.

Parent Page ID

The ID of the parent content. Allows moving the page under a different parent within the same space.

Space ID

The ID of the containing space. Moving a page to another space is not supported.

Update Page Output

Contains the response from the Confluence API after the update operation.