secrets

Create a secret

Creates a new secret.

Required scope: `secrets:write`

post/secrets

Request body

namestring required

Name of the secret

secretstring required

The secret value

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

The type of the secret

descriptionstring

Description of the secret

Response

Successfully created 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.