Atlassian · Capability

Atlassian Confluence Content API — Delete

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

Run with Naftiko AtlassianDelete

What You Can Do

DELETE
Deletepagetree — Atlassian Delete Page Tree
/v1/wiki/rest/api/content/{id}/pagetree
DELETE
Deletecontentproperty — Atlassian Delete Content Property
/v1/wiki/rest/api/content/{id}/property/{key}
DELETE
Deleterestrictions — Atlassian Delete Restrictions
/v1/wiki/rest/api/content/{id}/restriction
DELETE
Deletecontentversion — Atlassian Delete Content Version
/v1/wiki/rest/api/content/{id}/version/{versionnumber}

MCP Tools

atlassian-delete-page-tree

Atlassian Delete Page Tree

idempotent
atlassian-delete-content-property

Atlassian Delete Content Property

idempotent
atlassian-delete-restrictions

Atlassian Delete Restrictions

idempotent
atlassian-delete-content-version

Atlassian Delete Content Version

idempotent

Capability Spec

confluence-content-delete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Delete
  description: 'Atlassian Confluence Content API — Delete. 4 operations. Lead operation: Atlassian Delete Page Tree. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Delete
  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-delete
    baseUri: ''
    description: Atlassian Confluence Content API — Delete 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
    - name: wiki-rest-api-content-id-property-key
      path: /wiki/rest/api/content/{id}/property/{key}
      operations:
      - name: deletecontentproperty
        method: DELETE
        description: Atlassian Delete Content Property
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content that the property belongs to.
          required: true
        - name: key
          in: path
          type: string
          description: The key of the property.
          required: true
    - name: wiki-rest-api-content-id-restriction
      path: /wiki/rest/api/content/{id}/restriction
      operations:
      - name: deleterestrictions
        method: DELETE
        description: Atlassian Delete Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content to remove restrictions from.
          required: true
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the content
    - name: wiki-rest-api-content-id-version-versionNumber
      path: /wiki/rest/api/content/{id}/version/{versionNumber}
      operations:
      - name: deletecontentversion
        method: DELETE
        description: Atlassian Delete Content Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content that the version will be deleted from.
          required: true
        - name: versionNumber
          in: path
          type: integer
          description: The number of the version to be deleted. The version number starts
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-delete-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Delete. 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-delete.deletepagetree
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/property/{key}
      name: wiki-rest-api-content-id-property-key
      description: REST surface for wiki-rest-api-content-id-property-key.
      operations:
      - method: DELETE
        name: deletecontentproperty
        description: Atlassian Delete Content Property
        call: confluence-content-delete.deletecontentproperty
        with:
          id: rest.id
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/restriction
      name: wiki-rest-api-content-id-restriction
      description: REST surface for wiki-rest-api-content-id-restriction.
      operations:
      - method: DELETE
        name: deleterestrictions
        description: Atlassian Delete Restrictions
        call: confluence-content-delete.deleterestrictions
        with:
          id: rest.id
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/version/{versionnumber}
      name: wiki-rest-api-content-id-version-versionnumber
      description: REST surface for wiki-rest-api-content-id-version-versionNumber.
      operations:
      - method: DELETE
        name: deletecontentversion
        description: Atlassian Delete Content Version
        call: confluence-content-delete.deletecontentversion
        with:
          id: rest.id
          versionNumber: rest.versionNumber
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-delete-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Delete. 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-delete.deletepagetree
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-content-property
      description: Atlassian Delete Content Property
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-delete.deletecontentproperty
      with:
        id: tools.id
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-restrictions
      description: Atlassian Delete Restrictions
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-delete.deleterestrictions
      with:
        id: tools.id
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-content-version
      description: Atlassian Delete Content Version
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-delete.deletecontentversion
      with:
        id: tools.id
        versionNumber: tools.versionNumber
      outputParameters:
      - type: object
        mapping: $.