Confluence Cloud icon

Confluence Cloud

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

Overview

The "Update Content Template" operation in the Confluence Cloud node allows users to update an existing content template in Confluence. This is useful for modifying templates that define reusable page structures or content snippets within a Confluence space or globally. It supports updating template details such as name, body content, and other metadata.

Typical use cases include:

  • Automating updates to standardized documentation templates.
  • Modifying global or space-specific templates programmatically.
  • Keeping templates consistent across multiple spaces by updating them via workflows.

For example, you might update a project status report template with new sections or updated formatting without manually editing it in the Confluence UI.

Properties

Name Meaning
Request Body The JSON data representing the updated content template. This should be a valid JSON object describing the template's new state.

Output

The node outputs the JSON response from the Confluence API after updating the content template. This typically includes the updated template's details such as its ID, name, body content, and metadata fields reflecting the changes made.

No binary data output 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 Confluence domain URL as part of the credentials.
  • Permissions required on Confluence side: 'Admin' permission for the space to update a space template or 'Confluence Administrator' global permission to update a global template.

Troubleshooting

  • Invalid JSON in Request Body: If the request body JSON is malformed, the API will reject the request. Ensure the JSON syntax is correct before running the node.
  • Insufficient Permissions: Errors related to permissions indicate the authenticated user lacks admin rights on the target space or global admin rights. Verify user permissions in Confluence.
  • Template Not Found: If the template ID or identifier is incorrect or missing, the update will fail. Confirm the template exists and the correct ID is used.
  • API Endpoint Errors: Network issues or incorrect domain configuration can cause failures. Check the base URL and network connectivity.

Links and References


This summary focuses specifically on the "Update Content Template" operation under the "Template" resource as requested.

Discussion