EnvironmentUpdate
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
name |
string | |
branch |
string or null | |
pull_requests |
boolean | |
ttl |
string or null | |
protection |
EnvironmentProtection | |
databases_mode |
new, branch, branch-masked |
|
spend_cap |
Money or any or null |
* always present
Example
Section titled “Example”{ "name": "string", "branch": "string", "pull_requests": false, "ttl": "string", "protection": { "require_approval": false, "approver_roles": [ "owner", "admin" ], "allowed_branches": [ "string" ] }, "databases_mode": "new", "spend_cap": { "amount": "7.42", "currency": "GBP", "display": "£7.42" }}