05-03-2019 12:32 PM - edited 05-04-2019 07:24 PM
Using either "name" or "id" of the internal user on ISE, is it possible to toggle the flag ("enabled") to true/false without changing any other attributes of the "Internaluser"?.
I used <changePassword>false</changePassword> hoping that password would not be updated (attempted when InternalUser object i sused)
The error I see is " code="Conversion exception"><title>Password can't be set to one of the earlier 1 password(s)"
Any additional documentation on ERS Java APIs such as public methods exposed for clients to use say for "InternalUser" class.
Thank you all in advance
RK
Solved! Go to Solution.
05-04-2019 10:58 PM
Here is an example:
curl -X PUT -k -H 'Content-Type: application/json' -H 'Accept: application/json' -i \
'https://myErsAdminUserName:myErsAdminPassword@myISE:9060/ers/config/internaluser/myInternalUserID' \
--data '{ "InternalUser" : { "id" : "myInternalUserID", "name" : "myInternalUserName", "enabled" : false } }'
05-04-2019 10:58 PM
Here is an example:
curl -X PUT -k -H 'Content-Type: application/json' -H 'Accept: application/json' -i \
'https://myErsAdminUserName:myErsAdminPassword@myISE:9060/ers/config/internaluser/myInternalUserID' \
--data '{ "InternalUser" : { "id" : "myInternalUserID", "name" : "myInternalUserName", "enabled" : false } }'
05-05-2019 04:44 PM
hslai,
Thank you.
Your solutions looks very simple, not using the ERS Java APIs, but just execute a HTTP GET/PUT requests.
Will implement this and check.
Kind Regards
RK
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide