Skip to content
dimmiDocs

Feedback and changelog

Change a changelog label

PATCH/api/v1/changelog-labels/{label}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the changelog:write ability

Path parameters

labelstringrequired

Id of the changelog label, starting with cll_, such as cll_01jx2m8k4t. Find it with GET /help-centers/{help_center}/changelog-labels.

Body

application/json
colorstring

Hex color such as #22c55e.

Maximum length: 7

namestring

The name of the changelog label, 1 to 40 characters, unique in the changelog, such as Improvement.

Maximum length: 40

positioninteger

Where the label sits in the list, counting from 0, lowest first, such as 2.

Format: int32

Response 200

OK
dataobjectrequired
Show child attributes
colorstringrequired

The label's color as a six-digit hex code, such as #3b82f6.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The label's name, 1 to 40 characters, such as Improvement.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

positionintegerrequired

The label's place in the changelog's label order; lower comes first.

Format: int32

slugstringrequired

The label's URL name: lowercase letters, digits and hyphens, such as bug-fixes. Unique within the help center.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.