v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0393116227.2 KB
secrets

Update a secret

Updates an existing secret.

Required roles: All

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' 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)