Skip to content

Update an AI Style Group in an Organization

https://mapi.storyblok.com/v1/orgs/me/ai_style_groups/:ai_style_group_id

Update an existing AI style group in the specified organization.

  • :ai_style_group_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/orgs/me/ai_style_groups/123456" \
-X PUT \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"ai_output_rule_ids\":[123456789012349,123456789012350],\"ai_style_group\":{\"description\":\"Updated organization-level guidelines\",\"name\":\"Updated Company Style Guide\"}}"