Forum Discussion
lostinberlin_11
Jan 09, 2015Nimbostratus
Just in case anyone lands here and is still looking for an answer. See:
https://community.f5.com/t5/technical-forum/reconfigure-application-service-iapp-via-tmsh/m-p/55094
Quote from Fred:
This is the command line equivalent of the iApp "Finished" button:
modify sys application service my_app.app/my_app execute-action definition
- Jussi_Sjöström_Mar 12, 2015Historic F5 AccountCan this command line by triggered via a REST Call (POST with a particular payload)?
- Ben_NovakAug 19, 2020Employee
I know this is an old thread, but I've been digging through this thread for other details and found the right api call to redeploy an app. Might be useful to someone at some point. 🙂
{ "url": "/mgmt/tm/sys/application/service/~Common~tstApp.app~tstApp", "method": "PATCH", "body": { "execute-action": "definition" } }
- lostinberlin_11Mar 12, 2015NimbostratusThis is the command for the tmsh meaning it is possible to run the command on the machine or through ssh ("ssh myBigIpUser@myBigIpServer '....' " ). There are other REST implmentations out there though. Maybe best taking a look at iControl - https://devcentral.f5.com/s/articles/icontrol-rest-101-getting-started