tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > BluePrintingService > promote

BluePrintingService.promote() method

Promotes an item in the BluePrint hierarchy. This operation returns an instance of ‘OperationResult’ type.

Signature:

static promote({ escapedItemId, requestModel, }: {
        escapedItemId: string;
        requestModel: PromoteDemoteRequest;
    }): CancelablePromise<OperationResult>;

Parameters

Parameter Type Description
{ escapedItemId, requestModel, } { escapedItemId: string; requestModel: PromoteDemoteRequest; }  

Returns:

CancelablePromise<OperationResult>

OperationResult The request has completed and has resulted in one or more new resources being created.

Exceptions

ApiError