younifyd
Menu

Update Component Group

Update component group

PUT/v1/spaces/{space_id}/component_groups/{component_group_id}

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Update Component Group action (under Component Groups).
  3. Fill in the fields below, then reference the result from later steps as {{updateComponentGroup.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

component_group_idintegerrequired

Numeric ID of the component folder (group).

Request body

Enter the body as JSON in the step's Body field.

component_groupobjectrequired
namestring
parent_idinteger
json
{
  "component_group": {
    "name": "string",
    "parent_id": 0
  }
}

Response

Returns 200 with an object. Read it in later steps with {{updateComponentGroup.response.data.<field>}}.

component_groupobject
json
{
  "component_group": {}
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.