/v1/apps/{appId}/update
This endpoint updates an application by its ID.
team) are rejected with 400.restartRequired: true and the new settings take effect the next time the application is started or restarted.assignedCustomDomain) is not routed right away. The response brings customDomainPending, customDomainTxtName and customDomainTxtValue: publish that TXT record in your DNS and confirm with POST /v1/apps/{appId}/custom-domain/verify.Authorizations
Body
Application data to update
Only the fields that are sent are changed. Unknown fields (for example team) are rejected with 400.
Custom domain for the application. Only accepted when the application is (or is being) exposed via web, and the domain must use Cloudflare nameservers. The domain is not routed right away: it stays pending (customDomainPending) until you publish the TXT record returned in customDomainTxtName and customDomainTxtValue and call POST /v1/apps/{appId}/custom-domain/verify. Send an empty string to remove it.
253"app.example.com"
The main file of the application, relative to its root. When the start command was the default of the runtime for the old file (for example node index.js), it follows the new file; a start command you wrote stays as it is. Paths with .. are rejected with MAIN_FILE_INVALID.
1 - 300"src/index.js"
Response
Application updated successfully.
An application with its team expanded.
Present while status is suspended: the CamposCloud team turned the application off. A suspended application cannot be started or changed, but its files can still be listed and downloaded. See Why an application stopped.
Present when the platform turned the application off by itself because it sent too many requests. It is removed when the application is started or restarted again. See Why an application stopped.