Enable a disabled secret version
Re-enables a disabled SecretVersion. The newly-enabled version becomes eligible for :access calls again. Idempotent: enabling an already-enabled version returns 200 with no state change. Returns 409 ABORTED with a stale-revision hint if If-Match mismatches. Returns 409 if the version has been destroyed (irreversible).
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.
1 - 53"ws_j572abc123def456"
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
1 - 64"create-prod-2026-05-07"
The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.
1 - 256"42"
Path Parameters
Secret ID. Prefixed form sec_<id> is canonical.
1 - 54"sec_j572abc123def456"
SecretVersion ID. Prefixed form secv_<id> is canonical.
1 - 55"secv_j572abc123def456"
Response
Version enabled
1 - 551 - 54enabled, disabled, destroyed Unix timestamp (seconds)
x >= 0200Unix timestamp (seconds)
x >= 0