cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
352
Views
0
Helpful
0
Replies

Looking for example of REST Update User for Cisco Secure ACS 5.7

rwill0ncgov
Level 1
Level 1

Hi,

Does anyone have an example to share of how to update a user in ACS internal identity database using the REST interface?

I'm able to 'get' user info but my 'put' always gets a '405' status. I don't see any other result code. I'm simply trying to update the 'enabled' field from false to true. I first do a get to find the object id. And then use that object id in the put request with a url like 'https://<ip>/Rest/Identity/User/id/3708'. I've tried sending a bunch of different XML strings like:

<?xml version="1.0" encoding="utf-8"?>
<ns2:user xmlns:ns2="identity.rest.mgmt.acs.nm.cisco.com">
    <enabled>true</enabled>
</ns2:user>

...but I've not been successful. Can anyone shed a little light on this and show me what I'm doing wrong?

Regards,

Rick

0 Replies 0