outline icon

outline

Interact with outline API

Actions107

Templates → Templates Update

AI-generated

Summary

Updates a template in Outline via the Templates Update operation.

Inputs

  • id (required) — Unique identifier for the template. Either the UUID or the urlId is acceptable.
  • title — The title of the template.
  • data — The body of the template as a Prosemirror document.
  • icon — An emoji to use as the template icon.
  • color — The color of the template icon in hex format.
  • fullWidth — Whether the template should be displayed full width.
  • collectionId — Identifier for the collection to which the template belongs. Set to null for a workspace-wide template.
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible.
  • proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request.
  • requestOptions — Options for batching and throttling requests.

Output shape

main

The node outputs on the 'main' port; return data shape depends on the Outline API response.

Examples

Example 1: Update a template title and icon.

{id: 'abc123', title: 'My Template', icon: '✨'} produces a PUT/PATCH request to /templates/:id with the provided fields.

Links

Discussion