Update a style guide
Updates a style guide’s name, description, enabled-by-default setting, or sections. The style guide is identified by its developer ID — use ‘default’ to update the built-in Ditto Style Guide’s enabled-by-default setting. Only provided fields are modified. Updating sections replaces the full list — each sectionId must be unique within the style guide, and the list must include at least one ‘rules’ section and one ‘wordlist’ section; rules belonging to a removed section are automatically moved to the first remaining rules section.
Authorizations
Body
Developer ID of the style guide to update. Use 'default' to update the built-in Ditto Style Guide's enabled-by-default setting.
1New name for the style guide. If not provided, name remains unchanged.
1New description for the style guide. If not provided, description remains unchanged.
1Whether this style guide is enabled by default for all projects.
Full replacement list of sections. Each section's sectionId must be unique within the style guide. Must include at least one 'rules' section and one 'wordlist' section. Rules belonging to a removed section are automatically moved to the first remaining rules section.
Response
Returns success status of the update operation
Indicates whether the update was successful