RESTMAN unable to change users password
search cancel

RESTMAN unable to change users password

book

Article ID: 131013

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

How do I change a users password using restman api ?

Environment

All supported versions of the CA API Gateway

Cause

For password change, call of the Restman api, needs the "body" to be the actual raw text of the password (or the hash) - it is in raw bytes/character NOT in xml format as would have expected from the other parts of the API. 

Resolution


RESTman example : 

https://GatewayHostName:8443/restman/1.0/users/20b28e068d1cae807d2fd5aef7360a95/password?format=plain 

The "body" is raw password - so all the POST data is taken as the "password"