Apply


POST /{o}/{p}/envs/{envName}/apply

Apply 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

NameTypeDescription
ostring
pstring
envNamestring

Request body (application/json)

FieldTypeDescription
itemsobject | object | object | object | object | object | object[](required)
forceboolean
deletionsobject[]
dryRunboolean

Responses

StatusDescriptionSchema
200Apply result (all items succeeded)ApplyResult
207Partial apply — some items failedApplyResult
409Destructive change rejected without forceError

Schemas

ApplyResult

FieldTypeDescription
succeededobject[](required)
failedobject[](required)
skippedobject[](required)
diffobject

Error

FieldTypeDescription
errorstring(required)
codestring