Update secret
Updates secret metadata only. Rotate values with POST /secrets//versions.
Documentation Index
Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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"
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"
Body
Response
Secret updated
1 - 541 - 531 - 200Secret kind. Current public create values: cloud_provider/hcloud, cloud_provider/aws, cloud_provider/gcp, cloud_provider/azure, oci_registry, cloudflare_api, webhook_signing, generic. cloud_credential is migration-only metadata and cannot be used for new public creates.
"generic"
active, soft_deleted Server-managed validation telemetry. Populated for credential-typed secrets; null otherwise. OUTPUT_ONLY — clients cannot set this on create/update.
x >= 0x >= 0Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0500100Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0