Update a secret
Changed onRotates the value or edits the metadata of an existing secret. A secret's name and owning site are fixed at creation; site_ids applies to shared secrets only.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The secret's ID (e.g., "secret_3f9a1c0b7d2e4a6f8b1c3d5e")
Request body
Replacement value. Omit to leave it untouched.
Human-readable note about what this secret is for.
Sites a shared secret applies to. Empty leaves it dormant — stored, but injected nowhere.
Host the in-chat agent may call with this secret injected server-side. The value itself is never exposed to the model.
Header the secret rides in when calling egress_host (e.g. Authorization).
Response
The updated secret (value masked)
Changes
- breaking
the
site_idsresponse's property type changed fromobjecttoarrayfor status
- breaking
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning