Confluence Cloud icon

Confluence Cloud

Access to the Confluence Cloud REST API - Auto-generated from OpenAPI

Overview

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

  • For content templates, it deletes them permanently.
  • For modified space-level blueprint templates, it reverts them back to the global-level blueprint template they inherit from.
  • 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 is useful for administrators or users with appropriate permissions who want to manage and clean up templates within their Confluence spaces or globally. For example, if a content template is no longer needed or a customized blueprint template should be reset to its original state, this operation facilitates those actions.

Properties

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

Output

The output of this operation will typically be the response from the Confluence API after attempting to delete or revert the specified template. The json output field contains the API response data, which may include status information about the deletion or reversion process.

No binary data output is expected from this operation.

Dependencies

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

Troubleshooting

  • Permission Errors: If the user lacks the required admin permissions, the API will return an authorization error. Ensure the user has the necessary permissions.
  • Invalid Template ID: Providing an incorrect or non-existent template ID will result in an error. Verify the template ID before attempting deletion.
  • Unmodifiable Blueprint Templates: Attempting to delete an unmodified blueprint template will fail because these cannot be deleted via the API.
  • API Connectivity Issues: Network or authentication problems can cause failures. Check API credentials and network connectivity.

Links and References

Discussion