Open aistis- opened 1 year ago
Unfortunately, there was never an implementation to unset a value for PUT/PATCH. You'll need to get the whole JSON document, edit it, and then re-POST it.
Have a look at my CLI project in mcli. https://github.com/timcharper/mcli. Requires bash 4.x. The Marathon cli script supports "edit", marathon-cli app edit ...
. Should help you do what you want.
Once an app is created on Marathon with
container
configuration, it is not possible to removecontainer
configuration without recreating the app.container
key or settingcontainer: null
does not remove container configuration/container: must not be empty
PATCH
andPUT
withoutcontainer
key or sendingcontainer: null
does not remove container configurationPATCH
andPUT
sending with emptycontainer
values gives error that docker config is missing