Skip to content

Update a Workflow

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/workflows/:workflow_id

This endpoint can be used to update a workflow using its numeric ID.

  • :space_id required number

    Numeric ID of a space

  • :workflow_id required number

    Numeric ID of the connected workflow. If empty while creating a new stage, then the stage is created in the default workflow.

Example Request

curl "https://mapi.storyblok.com/v1/spaces/606/workflows/656" \
-X PUT \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"workflow\":{\"content_types\":[\"page\",\"teaser\"],\"name\":\"updated_name\"}}"