Atlassian · Capability

Atlassian Confluence Content API — Trees

Atlassian Confluence Content API — Trees. 1 operations. Lead operation: Atlassian Delete Page Tree. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianTrees

What You Can Do

DELETE
Deletepagetree — Atlassian Delete Page Tree
/v1/wiki/rest/api/content/{id}/pagetree

MCP Tools

atlassian-delete-page-tree

Atlassian Delete Page Tree

idempotent

Capability Spec

confluence-content-trees.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Trees
  description: 'Atlassian Confluence Content API — Trees. 1 operations. Lead operation: Atlassian Delete Page Tree. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Trees
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-content-trees
    baseUri: ''
    description: Atlassian Confluence Content API — Trees business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id-pageTree
      path: /wiki/rest/api/content/{id}/pageTree
      operations:
      - name: deletepagetree
        method: DELETE
        description: Atlassian Delete Page Tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content which forms root of the page tree, to be deleted.
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-trees-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Trees. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}/pagetree
      name: wiki-rest-api-content-id-pagetree
      description: REST surface for wiki-rest-api-content-id-pageTree.
      operations:
      - method: DELETE
        name: deletepagetree
        description: Atlassian Delete Page Tree
        call: confluence-content-trees.deletepagetree
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-trees-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Trees. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-delete-page-tree
      description: Atlassian Delete Page Tree
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-trees.deletepagetree
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.