POST /{o}/{p}/envs/{envName}/applyApply declarations (terraform-style)
Apply schema + data declarations against the project. Supports dry-run (plan-only) and force (allow breaking changes). Returns 207 when some items fail.
Auth: Bearer token required · Permission:
apply:write
Path parameters
| Name | Type | Description |
|---|---|---|
o | string | |
p | string | |
envName | string |
Request body (application/json)
| Field | Type | Description |
|---|---|---|
items | object | object | object | object | object | object | object[] | (required) |
force | boolean | |
deletions | object[] | |
dryRun | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | Apply result (all items succeeded) | ApplyResult |
207 | Partial apply — some items failed | ApplyResult |
409 | Destructive change rejected without force | Error |
ApplyResult| Field | Type | Description |
|---|---|---|
succeeded | object[] | (required) |
failed | object[] | (required) |
skipped | object[] | (required) |
diff | object |
Error| Field | Type | Description |
|---|---|---|
error | string | (required) |
code | string |