Skip to main content
POST
Update Boat secrets setup

Authorizations

Authorization
string
header
required

Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.

Body

application/json

Full replacement for the sandbox secret setup. Omitted envContents or secretFiles are treated as empty values, and successful updates are pushed to active sandboxes.

envContents
string

Full .env-style content to sync into sandboxes. Send the complete desired file contents, not a patch.

secretFiles
object[]

Full list of secret files to keep configured. Send existing files again if they should remain.

Response

Updated secret setup metadata.

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

environmentId
string
required
envContents
string
required
secretFiles
object[]
required
success
boolean
pushed
object

Present on update; counts how many active sandboxes received the new environment.