Skip to main content
POST
Update Box secrets setup

Authorizations

Authorization
string
header
required

Box bearer token in the form box_.... Service API keys authenticate Box operations.

Body

application/json

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

envContents
string

Full .env-style content to sync into Boxes. 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 Boxes received the new environment.