Forum Discussion
Satoshi_Toyosa1
Jun 20, 2018Employee
I believe you are after an iControl REST method equivalent to the following tmsh:
tmsh modify net self allow-service none
In iControl REST, use an empty list [] for none. A curl example is shown below. The same method should work for Python SDK too.
curl -sku admin: https:///mgmt/tm/net/self/-H "Content-Type: application/json" -X PATCH -d '{"allowService":[]}'