Confluence.js - Cloud and Server API library
    Preparing search index...

    Interface CreateContentTemplate

    This object is used to create content templates.

    interface CreateContentTemplate {
        body: ContentTemplateBodyCreate;
        description?: string;
        labels?: Label[];
        name: string;
        space?: { key: string };
        templateType: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    description?: string

    A description of the new template.

    labels?: Label[]

    Labels for the new template.

    name: string

    The name of the new template.

    space?: { key: string }

    The key for the space of the new template. Only applies to space templates. If the spaceKey is not specified, the template will be created as a global template.

    templateType: string

    The type of the new template. Set to page.