Actions35
- Space Actions
- Page Actions
- Template Actions
- Search Actions
- Comment Actions
- Get Page Footer Comments
- Get Page Inline Comments
- Get Blog Post Footer Comments
- Get Blog Post Inline Comments
- Get Custom Content Comments
- Get Footer Comments
- Create Footer Comment
- Get Footer Comment By Id
- Update Footer Comment
- Delete Footer Comment
- Get Footer Comment Children
- Get Inline Comments
- Create Inline Comment
- Get Inline Comment By Id
- Update Inline Comment
- Delete Inline Comment
- Get Inline Comment Children
Overview
The "Delete Page" operation in the Confluence Cloud node allows users to delete a specific page by its ID within a Confluence space. This operation supports deleting both published and draft pages. When deleting a non-draft page, it moves the page to the trash, from where it can be restored later. For drafts, deletion is permanent and immediate. Additionally, users can purge a trashed page to permanently remove it without sending it to the trash.
This operation is useful for managing content lifecycle in Confluence, such as cleaning up outdated or irrelevant pages, removing drafts that are no longer needed, or permanently purging pages to free up space or comply with data retention policies.
Practical examples:
- Automatically deleting a page after a project is completed.
- Removing draft pages that were abandoned.
- Purging trashed pages to permanently delete sensitive information.
Properties
Name | Meaning |
---|---|
Id | The numeric ID of the page to be deleted. |
Additional Fields | Optional parameters to modify the delete behavior: |
- Purge | Boolean flag indicating if the page should be permanently deleted (purged) instead of moved to trash. |
- Draft | Boolean flag indicating if the page to be deleted is a draft. |
Output
The output of this operation is the JSON response returned by the Confluence Cloud API after attempting to delete the page. Typically, this will confirm the success or failure of the deletion request. There is no binary data output associated with this operation.
Dependencies
- Requires an authenticated connection to Confluence Cloud via an API key credential.
- The node must be configured with the domain URL of the Confluence instance.
- User permissions required:
- Permission to view the page and its corresponding space.
- Permission to delete pages in the space.
- Permission to administer the space if attempting to purge a page.
Troubleshooting
Common issues:
- Insufficient permissions: Users may encounter errors if they lack the necessary rights to delete or purge pages.
- Invalid page ID: Providing a non-existent or incorrect page ID will result in an error.
- Attempting to purge a page without admin permissions will fail.
Common error messages and resolutions:
- 403 Forbidden: Indicates missing permissions; ensure the user has delete or admin rights as required.
- 404 Not Found: The specified page ID does not exist; verify the ID is correct.
- 400 Bad Request: Invalid combination of parameters (e.g., purging a non-trashed page); check parameter usage.