
# UpdateBoxEnvironmentRequest

Rename, set-default, and/or edit flags and contents. Any flag or content change mints a new immutable version; existing boxes are not touched until you call upgrade.

## Properties

Name | Type
------------ | -------------
`name` | string
`isDefault` | boolean
`safeForThirdParties` | boolean
`passGithub` | boolean
`passSecrets` | boolean
`passBoxCredentials` | boolean
`passAgentsCredentials` | boolean
`envContents` | string
`secretFiles` | [Array&lt;SecretFile&gt;](SecretFile.md)
`repositories` | [Array&lt;UpdateBoxEnvironmentRequestRepositoriesInner&gt;](UpdateBoxEnvironmentRequestRepositoriesInner.md)

## Example

```typescript
import type { UpdateBoxEnvironmentRequest } from '@asciidev/box-sdk'

// TODO: Update the object below with actual values
const example = {
  "name": null,
  "isDefault": null,
  "safeForThirdParties": null,
  "passGithub": null,
  "passSecrets": null,
  "passBoxCredentials": null,
  "passAgentsCredentials": null,
  "envContents": null,
  "secretFiles": null,
  "repositories": null,
} satisfies UpdateBoxEnvironmentRequest

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as UpdateBoxEnvironmentRequest
console.log(exampleParsed)
```

[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
