REST API Reference > Platform REST API version 3 resources > Passwords
  

Passwords

You can manage passwords using the Informatica Intelligent Cloud Services REST API.
You can perform the following tasks:

Changing a password

You can change your Informatica Intelligent Cloud Services password if your current password has not expired. If you have administrator privileges, you can change other users' passwords.

POST request

To change your password, use the following URI:
/public/core/v3/Users/ChangePassword
Include the following information in the request:
Field
Type
Required
Description
newPassword
String
Yes
New password.
oldPassword
String
Required if you are changing your own password.
Current password.
userId
String
Required if an administrator is changing the password for another user.
Informatica Intelligent Cloud Services user ID.

POST example

To change your password, you might send a request similar to the following example:
POST <baseApiUrl>/public/core/v3/Users/ChangePassword
Content-Type: application/json
Accept: application/json
INFA-SESSION-ID: <sessionId>
{
"newPassword" : "<new password>",
"oldPassword" : "<old password>"
}
A successful request will not return a response. An unsuccessful request will return an error.

Resetting a password

You can reset a password if it has expired or if you forgot your password. To reset a password, you must include the security answer in the request.

POST request

To reset your password, include the security answer in the request. Use the following URI:
/public/core/v3/Users/ResetPassword
Include the following information in the request:
Field
Type
Required
Description
userId
String
Yes
Informatica Intelligent Cloud Services user ID.
securityAnswer
String
Yes
Security answer to the user's security question.
newPassword
String
Yes
New password for the user.

POST example

To reset your password, you might send a request similar to the following example:
POST <baseApiUrl>/public/core/v3/Users/ResetPassword
Content-Type: application/json
Accept: application/json
INFA-SESSION-ID: <sessionId>
{
"userId" : "5N9JGth6pRYfOGjGKv3Q2D",
"securityAnswer" : "Simba",
"newPassword" : "<password>"
}
A successful request will not return a response. An unsuccessful request will return an error.