tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > ItemsService > delete

ItemsService.delete() method

Permanently deletes an item from the system. You can delete all versions of the item or only a specified version of the item.

Signature:

static delete({ escapedItemId, }: {
        escapedItemId: string;
    }): CancelablePromise<void>;

Parameters

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

Returns:

CancelablePromise<void>

void

Exceptions

ApiError