Forum Discussion
vladtache_35966
Nimbostratus
Jun 13, 2018How to update/delete the attribute of an object using F5 SDK
Hi all,
I would like to ask for an advice>
I would like to update/delete the attribute of an object .
From this collection :
mgmt.tm.net.selfips.get_collection()
i would like to update : s...
Satoshi_Toyosa1
Jun 20, 2018Ret. Employee
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":[]}'
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