Update App
Rename an app, upgrade its package or change its renewal and AI connection.
Rename an app, switch its renewal or AI connection, or upgrade its package.
Send at least one of name, package, auto_renew and ai_mode.
PATCH /v1/launchpad/apps/:app_idPath parameters
app_idstringrequiredThe app's ID.
Body
namestringoptionalA new name: 1 to 40 characters on one line.
packagestringoptionalA larger package. The app must be running or stopped; a running app
restarts on the new package. The difference in price for the days left in
the paid month is charged now; renews_at doesn't move.
smlexpected_chargestringoptionalWith package: the upgrade price you expect, such as "3.87". If the
price is different, nothing changes and you get 409 with the current
price.
auto_renewbooleanoptionalRenew each month from your balance.
ai_modestringoptionalSwitch the AI connection. To custom, the app's managed API key is
retired; to aivene, a new one is made. Applied at the next start.
aivenecustomResponse
(object)AppoptionalThe app object.
Errors
| Status | Reason |
|---|---|
400 | Nothing to change, an invalid field, a smaller package, or aivene for an image without Aivene support. |
402 | Not enough balance for the upgrade, or a spend limit was reached. Nothing was charged. |
404 | No app with this ID exists in the key's workspace. |
409 | The app's status doesn't allow an upgrade, or the upgrade price differs from expected_charge. |
503 | Launchpad is temporarily unavailable. Nothing was charged. |