Request body for partial-update of an existing template definition. Every property is optional. null = leave the property unchanged. Empty string ("") on a string property = clear the value. To clear an existing color, set ClearColor to true and leave Color null. Supplying both Color and ClearColor=true is rejected with 400.

interface IUpdateTemplateRequest {
    clearColor?: boolean;
    color?: LFColor;
    description?: string;
    isAutoAssignable?: boolean;
    name?: string;
}

Implemented by

Properties

clearColor?: boolean

Set to true to clear the template's existing color. Mutually exclusive with Color.

color?: LFColor

The new color for the template. Omit to leave unchanged.

description?: string

The description of the template.

isAutoAssignable?: boolean

Whether the template is eligible for automatic assignment by Cloud auto-classification.

name?: string

The new name of the template. Must be unique within the repository.