Updates the expiry metadata on an existing secret without changing the encrypted value
Update Secret Metadata
PATCH /v1/secrets/:id
Updates the expiry metadata on an existing secret. Use this to set or clear expires_at and strict_expiry_enforcement without changing the encrypted value.
Path Parameters
Parameter
Type
Description
id
uuid
The secret ID
Request Body
At least one field is required.
Field
Type
Description
expires_at
string | null
ISO-8601 datetime for expiry, or null to clear
strict_expiry_enforcement
boolean
true to block injection when expired; false for warn-only