Forum Discussion
Zdenda
Cirrus
Jan 23, 2019Api Rest - Assign LTM policy to virtual server
Hi,
from this article it looks the way to assign LTM policy to VS is through POST /mgmt/tm/ltm/virtual/~Common~/policies with body {"name": ""} .
Well, it works for me, but I always get 404 ...
Satoshi_Toyosa1
Jan 28, 2019Ret. Employee
The
~
(tilda) notation is for URI encoding to avoid mixing up the BIG-IP partition/folder delimiter and URI's slash. See also p. 13 of iControl REST User Guide Version 13.1. You should use the standard BIG-IP partition/folder notation (e.g. /Common/virtualX) in the payload. Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects