Templates: update

Updates a template.

Request

HTTP Request

PATCH https://cawemo.example.com/api/v1/templates/:id

Path Parameters

Name Type Description
id string Unique identifier of the template to update.

Request Body

In the request body, supply only the properties of a Templates resource that you want to update. The following properties are updatable:

Property Name Type Description Notes
$schema string URI pointing towards the JSON schema which defines the structure of the element template .json file. Element template schemas are maintained in the element templates JSON schema repository. In case no $schema is defined, Cawemo assumes the latest JSON Schema version.
appliesTo string[] List of BPMN types the template can be applied to.
description string Description of the template.
metadata.catalogId string Unique identifier of the catalog project the template's is located in.
metadata.published boolean Whether the current version of the template should be published.
metadata.templateVersionName string The name of the published template version. Only taken into account in combination with metadata.published: true.
name string Name of the template.
properties object[] List of properties of the template, see the Camunda Modeler documentation for a description.
scopes object[] List of scoped bindings of the template, see the Camunda Modeler documentation for a description.

Response

If successful, this method returns a Templates resource in the response body.

On this Page: