VMware VSHIELD APP 1.0 - API User Manual Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 132
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
VMware, Inc. 23
Chapter 2 vShield Manager Management
PUT https://<vsm-ip>/api/2.0/services/usermgmt/user/<userId>/enablestate/<value>
The<value>canbe0(zero)todisabletheaccount,or1(one)toenabletheaccount.
ThisAPIreturns“204NoContent”ifsuccessful.
Remove a User Account
ThefirstAPIremovesalocaluseraccount,orremovestheVSMroleassignmentforavCenteruser,without
affectingthevCenteraccount.ThesecondAPIremovesavCenterusersrolesbutisnotallowedforlocalusers.
Example 2-21. Remove a user account
Request:
DELETE https://<vsm-ip>/api/2.0/services/usermgmt/user/<userId>
Example 2-22. Removing a user role
Request:
DELETE https://<vsm-ip>/api/2.0/services/usermgmt/role/<userId>
BothAPIsreturn“204NoContent”ifsuccessful.7
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 131 132

Comments to this Manuals

No comments