Home > @uniformdev/canvas > EntryManagementClient > unpublish

EntryManagementClient.unpublish() method

Removes only the published state, leaving the draft intact. Scoped to a single edition when editionId is supplied; otherwise unpublishes all editions. To unpublish only the base edition, pass editionId and entryId as the same value.

Signature:

Parameters

Parameter

Type

Description

selector

EntryWriteSelector

Returns:

Promise<void>