Skip to content

Unpublish a Story

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/stories/:story_id/unpublish

Unpublishing a story (besides using the unpublish action in visual editor or in content viewer) can be done by using a GET request for each story you want to unpublish.

Multiple language versions of a story can be unpublished using the lang parameter (Publish translations individually has to be enabled in Settings > Internationalization).

  • :space_id required number

    Numeric ID of a space

  • :story_id required number

    The numeric id of story

  • lang string

    Accept a list of languages codes separated by a comma, e.g.: lang=es,pt-br,[default]

curl "https://mapi.storyblok.com/v1/spaces/606/stories/2141/unpublish" \
-H "Authorization: YOUR_OAUTH_TOKEN"