Skip to main content
POST
Undeprecate a previously-deprecated Struct version
Clears the deprecate flag. Same role gate as Deprecate.

Authorizations

Authorization
string
header
required

Organisation API key from Settings → API / /api/keys/. The secret is shown once. Send Authorization: Bearer sk-abacus-…. One active key per organisation. Ingest (/api/v2/ingest/*) refuses API keys — that surface is Auth0-only with ingest:read / ingest:write scopes.

Path Parameters

slug
string
required
version_number
integer
required

Response

Detail shape for a single StructVersion — adds full JSON bodies.

version_number
integer
required
Required range: 0 <= x <= 2147483647
published_at
string<date-time>
required
read-only
published_by
object | null
required

Compact projection of the user who published / deprecated a version.

field_count
integer
required
read-only
is_deprecated
boolean
required
read-only
deprecated_by
object | null
required

Compact projection of the user who published / deprecated a version.

schema_json
any
required
annotations_json
any
required
publish_note
string
Maximum string length: 500
deprecated_at
string<date-time> | null
deprecation_note
string
Maximum string length: 500