Skip to main content
Help Center API Reference

Update an API reference version

Updates the settings of a version. Send only the fields to change.

PATCH
/v2/help_center/api_specs/{specId}
  • name, versionLabel: shown in the help center.
  • versionSlug: only before the first publish.
  • visibleBy: who can see the version (["everyone"] or role / segment ids, like articles).
  • status: active, deprecated (banner, not indexed) or archived (hidden). The default version cannot be archived; restoring an archived version counts against the plan limit.
  • isDefault: true: make this version the default. It must be published and not archived.

The changes apply in this order: fields, status, default. Each step is in the audit log.

Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

specIdstringrequired

The API reference version (id from the list).

Example: 66f7d0c1a2b3c4d5e6f70812
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-08-19.orbit

Body

application/json
isDefaultenum<boolean>

Make this version the default (shown without a version prefix). Only a published, not archived version can be the default.

Available options: true
Example: true
namestring

Name of the API reference.

Required string length: 1 - 128
Example: Acme API
statusenum<string>

active, deprecated (shown with a banner, not indexed) or archived (hidden from readers). The default version cannot be archived.

Available options: active, deprecated, archived
Example: active
versionLabelstring

Label of this version in the version picker.

Required string length: 1 - 64
Example: v2
versionSlugstring

URL slug of this version (lower case). It cannot change after the first publish.

Required string length: 1 - 32
Example: v2
visibleBystring[]

Who can see this version in the help center: everyone, or a list of role / segment ids (the same values as visibleBy on articles).

Required array length: 1 - 200

Response

application/json

Success

apiSlugstringrequired

The API this version belongs to.

Example: default
createdAtstring | nullrequired

When the version was created.

Example: 2026-10-01T12:00:00.000Z
draftRevisionnumber | nullrequired

The revision that waits for review. Null = no draft.

Example: 8
hasDraftbooleanrequired

A draft waits for review (see the draft endpoint).

Example: true
helpCenterIdstringrequired

The help center.

Example: ox6qrqprmsuqaunj
idstringrequired

The API reference version id (specId).

Example: 66f7d0c1a2b3c4d5e6f70812
isDefaultbooleanrequired

The default version (no version prefix in URLs).

Example: true
lastSyncobject | nullrequired

The newest CI push or API import of this version.

liveOperationCountnumber | nullrequired

Endpoints in the live revision (list only; null otherwise).

Example: 42
liveRevisionnumber | nullrequired

The published revision. Null = never published.

Example: 7
namestringrequired

Name of the API reference.

Example: Acme API
objectenum<string>required

Object type identifier

Available options: help_center_api_spec
Example: help_center_api_spec
sourceobjectrequired

Where the spec comes from.

statusenum<string>required

Version status.

Available options: active, deprecated, archived
Example: active
updatedAtstring | nullrequired

When the version was last changed.

Example: 2026-10-01T12:00:00.000Z
versionLabelstringrequired

Label in the version picker.

Example: v2
versionSlugstringrequired

URL slug of the version.

Example: v2
visibleBystring[]required

Who can see this version.