Skip to content

Update an AI Style Group in a Space

https://mapi.storyblok.com/v1/spaces/:space_id/ai_style_groups/:id

Update an existing AI style group in the specified space.

  • :space_id required number

    The ID of the Space

  • :id required number

    The ID of the AI style group

  • ai_style_group object
    • name string

      The name of the AI style group (max 100 characters)

    • description string

      Description of the AI style group (max 400 characters)

  • ai_output_rule_ids number[]

    Array of AI output rule IDs that replace existing rules. Pass an empty array to remove existing rules.

curl "https://mapi.storyblok.com/v1/spaces/288868932106293/ai_style_groups/67499417567240" \
-X PUT \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"ai_output_rule_ids\":[123456789012345,123456789012348],\"ai_style_group\":{\"description\":\"Updated brand guidelines for marketing content creation\",\"name\":\"Updated Marketing Style Guide\"}}"