Skip to main content
POST
Create a style guide

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required

The name of the new style guide.

Minimum string length: 1
description
string
required

A description of the style guide's purpose.

Minimum string length: 1
sections
object[]

Sections to organize rules and word list entries into. Each section's sectionId must be unique within the style guide. Must include at least one 'rules' section and one 'wordlist' section. If omitted, a default set of sections is used.

enabledByDefault
boolean

Whether this style guide is enabled by default for all projects. Defaults to true.

Response

Returns the developer ID and name of the created style guide

id
string
required

The Developer ID of the created style guide

name
string
required

The name of the created style guide