Deploy (register or update) an app and pay for it
flux_deploy_appDeploy or update a Flux Cloud app: validate and quote the spec; set confirm=true to sign, broadcast, pay FLUX, and return a txid.
Instructions
Validates the specification on a node, quotes it, and with confirm=true signs it with the Flux ID, broadcasts it and pays the quoted FLUX from the payment address. Without confirm it only returns the plan (price, balance, warnings) and spends nothing. Registers a new name or updates an existing app of the same owner. Then call flux_wait_for_app with the returned txid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| confirm | No | Set true to actually sign, broadcast and pay. | |
| enterprise | No | Make the app private: these components and contacts are encrypted so only the nodes running the app can read them. When set, spec.compose should be [] and spec.enterprise "". |