secrets

Update a secret

Updates an existing secret.

Required scope: `secrets:write`

put/secrets/{secret_id}

Path parameters

secret_idstring required

Secret ID

Request body

namestring required

Name of the secret

secretstring

The secret value (omit to keep unchanged)

descriptionstring

Description of the secret

Response

Successfully updated secret

idstring required

Secret ID

namestring required

Name of the secret

type'google_drive' | 'github' | 'notion' | 'x' | 'xai' | 'chartmetric' required

The type of the secret

descriptionstring

Description of the secret

last_update_timeinteger required

Last updated time (Unix timestamp in seconds)

creation_timeinteger required

Creation time (Unix timestamp in seconds)

chartmetric_lifecycle_state'pending_create' | 'active' | 'pending_update' | 'pending_delete'

Persistent lifecycle state of a Chartmetric credential

Changes

Changed in 1 of the 71 revisions of this API.1

Of the 71 revisions, 18 have no diff computed.