How to disable a user in PC via the REST API
search cancel

How to disable a user in PC via the REST API

book

Article ID: 272671

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

I need to disable a user using API. I searched in API documentation but did not find an option to disable the user. Could you help me to get the API for disabling the user.

Resolution

You can disable a user with a PUT to the PC host:


https://<pc>:8182/pc/center/webservice/users/userName/<username>/disable

For example:

PUT https://<pc>:8182/pc/center/webservice/users/userName/adminuser/disable

 

Via the gui:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/22-2/administrating/manage-roles-and-user-accounts/product-privilege.html