Using Restman To Update Stored Password
Article ID: 187304
CA API Gateway
It might be required to update a manged stored password without the use of Policy Manager.
You can make a restman call to accomplish this task.
Applicable to any Gateway version.
You would first need to obtain the id of the Stored Password for which you would like to update.You can send the following request via a rest client such as postman to obtain that:HTTP Method: Get
You will see the following within the generated response:
<l7:StoredPassword id="9d2a35cc52c836e10f76e2ac10eeeeee" version="1">
You can now send the following kind of request to update that stored password:
HTTP Method: Put
The body of the request would contain something along the following:
The stored password would be updated with the value specified in the <l7:Password>xxxxxxx</l7:Password>
section of the PUT request from above.
You can use restman to accomplish many things with the gateway.
To access the restman documentation you can hit the following endpoint: