v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
secrets

Update a Secret.

Update the value of an existing Secret by name. The new value will be encrypted at rest.

post/v1/secrets/{name}

Path parameters

namestring required

The name of the Secret to update.

Request body

valuestring required

The new value for the Secret. This will replace the existing value and be encrypted at rest. Example: 'my-updated-secure-password'

Response

Secret updated successfully. Returns the Secret with its new value included.

idstring required

The unique identifier of the Secret.

namestring required

The globally unique name of the Secret. Used as the environment variable name in Devboxes.

create_time_msinteger required

Creation time of the Secret (Unix timestamp in milliseconds).

update_time_msinteger required

Last update time of the Secret (Unix timestamp in milliseconds).