Delete user via Web Service
search cancel

Delete user via Web Service

book

Article ID: 192284

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management Network Observability

Issue/Introduction

Procedure for delete user via Rest Web Service

Environment

Release : Any version

Component : IM Reporting / Admin / Configuration

Cause

Delete procedure

Resolution

http://PC:8181/pc/center/webservice/users/idNames
<idNames>
<idName value="userName"/>
<idName value="userId"/>
</idNames>

http://PC:8181/pc/center/webservice/users/userId/4
<user>
<userId>4</userId>
<defaultGroupId>18202</defaultGroupId>
<name>User1</name>
<description/>
<enabled>true</enabled>
<removable>true</removable>
<email/>
<timezone>America/User1</timezone>
<authenticationType>PRODUCT</authenticationType>
<role>
<roleId>500</roleId>
<name>Network Administrator</name>
<description>Network Administrator</description>
<tenantId>8</tenantId>
<enabled>true</enabled>
<userCount>1</userCount>
<updatedOn>2019-07-11T16:51:26-03:00</updatedOn>
<accessRights/>
</role>
<tenantId>8</tenantId>
<culture>en-US</culture>
<customGroups>false</customGroups>
<suppressViews>false</suppressViews>
</user>

http://PC:8181/pc/center/webservice/users/userName/User1
<user>
<userId>4</userId>
<defaultGroupId>18202</defaultGroupId>
<name>User1</name>
<description/>
<enabled>true</enabled>
<removable>true</removable>
<email/>
<timezone>America/User1</timezone>
<authenticationType>PRODUCT</authenticationType>
<role>
<roleId>500</roleId>
<name>Network Administrator</name>
<description>Network Administrator</description>
<tenantId>8</tenantId>
<enabled>true</enabled>
<userCount>1</userCount>
<updatedOn>2019-07-11T16:51:26-03:00</updatedOn>
<accessRights/>
</role>
<tenantId>8</tenantId>
<culture>en-US</culture>
<customGroups>false</customGroups>
<suppressViews>false</suppressViews>
</user>



Delete:


http://PC:8181/pc/center/webservice/users/userName/User1

Also check if the removable parameter is true
<removable>true</removable>

Additional Information