Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. Mass Ingestion Files REST API
  7. RunAJob utility
  8. REST API codes
  9. REST API resource quick references

REST API Reference

REST API Reference

Getting a security question and setting a security answer

Getting a security question and setting a security answer

Use the UserProfile resource to get your security question. You might want to get your security question if your password expired and you can't remember the question. You can also use the UserProfile resource to set a security answer.

GET request

To get your security question, use the following URI:
/public/core/v3/Users/<user ID>/UserProfile

GET response

A successful response returns the following information:
Field
Type
Description
userId
String
Informatica Intelligent Cloud Services
user ID.
userName
String
Informatica Intelligent Cloud Services
user name.
securityQuestion
String
Security question set for the user.

GET example

To get your security question, you might send a request similar to the following example:
GET <baseApiUrl>/public/core/v3/Users/382e4ba6cd2511ef00242a/UserProfile/UserProfile
The response might look like the following example:
{ "userId" : "5N9JGth6pRYfOGjGKv3Q2D", "userName" : "jbrown@abcd.com", "securityQuestion" : "What is your pet's name?" }

PATCH request

To set a security answer, use the following URI:
/public/core/v3/Users/UserProfile
Include the securityAnswer field in the request.

PATCH response

A successful response returns the following information:
Field
Type
Description
userId
String
User ID.
userName
String
User name.
securityQuestion
String
Security question set for the user.

PATCH example

To set a security answer, you might send a request similar to the following example:
POST <baseApiUrl>/public/core/v3/Users/UserProfile Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "securityAnswer" : "Simba", }
The response might look like the following example:
{ "userId" : "5N9JGth6pRYfOGjGKv3Q2D", "userName" : "jbrown@abcd.com", "securityQuestion" : "What is your pet's name?" }


Updated May 03, 2021