Skip to main content
PUT
/
v1
/
secrets
/
{id}
{
  "name": "NEW_NAME",
  // or update only value or both
}
{
  "status": true,
  "data": {
    "id": "a8ad4bc6-ffbc-4ed0-b90b-542347fd8298",
    "name": "MY_API_KEY",
    "value": "********",
    "created_at": "2026-05-26T02:23:44.710Z",
    "updated_at": "2026-05-26T02:23:44.710Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.evergreens.ai/llms.txt

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

AuthorAuthor: Adnan Ali
Entity Reference:
SecretEntity
Update the name and/or value of an existing secret in your Tedi account. This endpoint allows you to modify the details of a secret while keeping its unique identifier intact.

Request

name
string
The name of the secret. This should be a descriptive name that helps you identify the purpose of the secret. Max length: 255 characters.
value
string
The value of the secret. This is the sensitive information you want to store securely. Max length: 500 characters.

Response

The response contains the details of the newly created secret, including its unique identifier, name, masked value, and timestamps for when it was created and last updated.
id
string
required
The unique identifier of the secret.
name
string
required
The name of the secret.
value
string
required
The value of the secret. For security reasons, the actual value is masked in the response and will appear as "********".
created_at
string
required
The timestamp when the secret was created.
updated_at
string
required
The timestamp when the secret was last updated.
{
  "status": true,
  "data": {
    "id": "a8ad4bc6-ffbc-4ed0-b90b-542347fd8298",
    "name": "MY_API_KEY",
    "value": "********",
    "created_at": "2026-05-26T02:23:44.710Z",
    "updated_at": "2026-05-26T02:23:44.710Z"
  }
}
{
  "name": "NEW_NAME",
  // or update only value or both
}