Confluence Cloud icon

Confluence Cloud

Zugriff auf die Confluence Cloud REST API - Auto-generated from OpenAPI

Overview

The "Remove Template" operation in the Confluence Cloud node allows users to delete a specific content template by its ID. This operation handles different types of templates as follows:

  • Deletes content templates permanently.
  • For modified space-level blueprint templates, it reverts them to the inherited global-level blueprint template.
  • For modified global-level blueprint templates, it reverts them to the default global-level blueprint template.
    Note that unmodified blueprint templates cannot be deleted.

This node operation is useful for managing and cleaning up templates within Confluence, especially when templates are no longer needed or need to be reset to their default state. For example, an administrator can automate the removal of outdated templates across multiple spaces or revert customized blueprint templates back to their original versions.

Properties

Name Meaning
Content Template Id The ID of the template to be deleted.

Output

The output JSON will contain the response from the Confluence API after attempting to delete the specified template. Typically, this will be an empty response or confirmation of deletion depending on the API behavior. No binary data is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Confluence Cloud REST API.
  • The node must be configured with the domain URL of the Confluence instance.
  • User permissions: 'Admin' permission for the space to delete a space template or 'Confluence Administrator' global permission to delete a global template.

Troubleshooting

  • Common issues:

    • Insufficient permissions: The user must have admin rights on the space or be a Confluence administrator globally.
    • Invalid template ID: Providing a non-existent or incorrect template ID will result in an error.
    • Attempting to delete unmodified blueprint templates: These cannot be deleted and will cause an error.
  • Error messages and resolutions:

    • 403 Forbidden: Indicates lack of required permissions. Ensure the API credentials belong to a user with appropriate admin rights.
    • 404 Not Found: The specified template ID does not exist. Verify the template ID before attempting deletion.
    • 400 Bad Request: May occur if trying to delete an unmodifiable blueprint template. Confirm the template type and modification status.

Links and References

Discussion