confluence_updateSpaceTemplateFromFile
Update a Confluence space template's body by uploading a storage XML file, preserving existing labels. Rename the template by providing a new name.
Instructions
Update a space page template body from a local storage XML file via PUT /rest/experimental/template. Preserves labels by default. BSA page remains source of truth — this publishes a snapshot for Create from template. To rename: pass templateId + new name (id alone is used for lookup).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Template name (used to find and/or rename) | |
| filePath | Yes | Absolute path to storage XML | |
| spaceKey | Yes | Space key, e.g. TempStream | |
| keepLabels | No | Keep existing labels (default true) | |
| templateId | No | Space template ID | |
| description | No | New description; default keep current |