interface ITemplateCreateFromSharepointParams {
    itemId: string;
    name: string;
    oboToken: string;
    siteId: string;
}

Properties

itemId: string

The item ID of the source file.

name: string

Name for the template to create.

oboToken: string

On-Behalf-Of access token generated for the request. This must have an audience of "https://graph.microsoft.com" with Read access to the source file. This token is used ephemerally and discarded after the request, but it is still recommended that you generate it with the minimal permissions possible.

siteId: string

The site ID the source file is in.