Skip to main content
PUT
/
governance
/
resources
/
projects
/
secrets
/
{secret_name}
Update an existing project secret
curl --request PUT \
  --url https://api.example.com/governance/resources/projects/secrets/{secret_name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Project-ID: <x-project-id>' \
  --data '
{
  "value": "<string>",
  "description": "<string>"
}
'
{
  "name": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Project-ID
string
required

Path Parameters

secret_name
string
required

Name of the secret to update

Body

application/json

Request body for updating a secret.

value
string | null

New secret value (JSON string)

description
string | null

New description for the secret

Response

Successful Response

Response body for a updated secret.

name
string
required

Name of the updated secret

updated_at
string<date-time>
required

Timestamp when the secret was updated