Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt

Use this file to discover all available pages before exploring further.

Update Secret Value

PUT /v1/secrets/:id/value
Replaces the encrypted value of an existing string secret. You can target a specific environment to set an environment-specific override.

Path Parameters

ParameterTypeDescription
iduuidThe secret ID

Query Parameters

ParameterTypeDefaultDescription
environmentstringBase environmentTarget a specific environment

Request Body

FieldTypeRequiredDescription
valuestringYesThe new secret value

Response

{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "STRIPE_API_KEY",
    "environment": "production"
  },
  "meta": { "request_id": "550e8400-e29b-41d4-a716-446655440000" }
}

Errors

StatusTypeDescription
400validation_errorMissing value field
404not_foundSecret not found