Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Hiloop API key sent as an HTTP Bearer token.

Headers

idempotency-key
string

Optional idempotency key for this mutation. The server records the result from execution start. For at least 72 hours, reuse by the same organization and route replays the original status and body. A matching request still in flight or reuse for different input returns 409 idempotency_conflict. Keys are scoped by organization and route and contain 1-255 characters.

Required string length: 1 - 255

Path Parameters

id
string
required

The secret id to rotate.

Body

application/json
id
string

The secret id to rotate.

value
string

The new secret value. WRITE-ONLY: stored encrypted as a new version and never returned.

Response

OK

secret
object

The rotated secret's metadata (with the new current_version and rotated_at set).