Skip to main content
Help Center API Reference

Roll back to a revision

Makes an older revision live again. Send the live revision you expect as expectedLiveRevision; the call fails with 409 when it changed.

POST
/v2/help_center/api_specs/{specId}/rollback

Authentication

Use an organization API key from the dashboard. OAuth and MCP tokens cannot call this endpoint.

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
expectedLiveRevisioninteger | nullrequired

The live revision you expect now. The call fails with 409 when it changed.

Required range: 1 <= x
Example: 7
toRevisionintegerrequired

The revision to make live again (from the revisions list).

Required range: 1 <= x
Example: 6

Response

application/json

Success

idstringrequired
Example: 66f7d0c1a2b3c4d5e6f70812
liveRevisionnumber | nullrequired

The live revision now.

Example: 8
objectenum<string>required
Available options: help_center_api_spec
Example: help_center_api_spec