capabilities.work

Retire Story

A 3-step recipe with Storyblok. We can help you get access.

Recipe · 3 steps

Retire Story

Unpublish a story and optionally delete it, with a branch on hard delete.

  1. Read the story to confirm its current state before retiring it.
  2. Unpublish the story, removing it from public access while preserving its draft content.
  3. Permanently delete the story from the space.
What you'll need to have ready
  • space_id: Numeric ID of the Storyblok space.
  • story_id: Numeric ID of the story to retire.
  • hardDelete: Set to true to permanently delete the story after unpublishing.
For your developer

Arazzo workflow storyblok:retire-story, 3 operations: getManagementStory → unpublishStory → deleteStory. Specs on APIs.io.