Forum Discussion

grizzlybear123_'s avatar
grizzlybear123_
Icon for Nimbostratus rankNimbostratus
Nov 24, 2017

REST API Details and Example for operating on LTM Pool Members

I have some servers under LTM pool. and I can get the list using something like

 

GET /mgmt/tm/ltm/pool/all/members/stats/ Authorization: atoken Cache-Control: no-cache Host : my.ltm.host

 

I get a 200 OK with JSON response where I can get all my data.

 

All I am trying to do from this point is the following:

 

1) Start/Stop certain servers 2) Redirect traffic away from a certain server

 

I can see a REST API guide for iControl here: https://devcentral.f5.com/d/icontrol-rest-user-guide

 

But is it the same for ltm?

 

Also, if I want to simply modify the configuration i.e. start/stop/bleed servers, can I just modify certain configuration and send JSON of it? I would be grateful if someone could demonstrate with a small example.

 

Regards,

 

No RepliesBe the first to reply