Is there a way to schedule "Unpublish" for documents

Hi!

I’m looking for a way to automatically unpublish or archive a document at a specific date and time in Prismic.

I know we can schedule content to go live using Releases, but I can't find a native way to do the opposite, making sure a page or a component disappears automatically when it's no longer relevant (for example, after an event has ended).

Is this feature available natively, or is there a recommended workaround for handling content expiration?

Best regards, Mattias

Hey @mattias,

Thanks for raising this! Currently there isn't a way to do this, but I definitely see the value in the feature. It's something several users have asked for in the past, we have a feature request for it open with the product team. I'll add your post to it so they know the need is still there, and whenever it's addressed you'll get notified :slight_smile:

Hi Ezekiel,

Thanks for the quick reply and for clarifying! :slightly_smiling_face:

I’m glad to hear there’s already a feature request open, scheduled unpublishing would definitely be useful for time-based content like events or campaigns. Thanks for adding my post to it.

Looking forward to any updates in the future.

Best regards, Mattias

1 Like