How to update an existing user description via REST Web Services
search cancel

How to update an existing user description via REST Web Services

book

Article ID: 115535

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration

Issue/Introduction

For scripted updates you can use Rest Web Services to update the Description of an existing user.

Environment

Release:
Component: IMADMN

Resolution

View all users
  1. Issue a HTTP GET to http://<pchost>:8181/pc/center/webservice/users/en-US.
  2. You’ll receive a list of users, and their associated roles. Note some of the names.
View a user by name
  1. Issue a HTTP GET to http://<pchost>:8181/pc/center/webservice/users/userName/{name}, where {name} is one of the values from the previous step.
Update user Description 
  1. Issue a HTTP PUT to http://<pchost>:8181/pc/center/webservice/users/userName/{UserName}/description/ANewDescription