Get Authentication Source

Back to Authentication Source Resources

Summary

Gets the details about an existing authentication source identified by :source_id for a user identified by :user_name

GET /users/:user_name/sources/:source_id

Response

Example

Get a specific authentication source for user with the user_name of jdoe.

GET /users/jdoe/sources/1234

200 OK
{
  "href" : "http://your.ambari.server/api/v1/users/userc/sources/1234",
  "AuthenticationSourceInfo" : {
    "source_id" : 1234,
    "user_name" : "jdoe"
  }
}     

Get more details about specific authentication source for user with the user_name of jdoe.

GET /users/jdoe/sources/1234?fields=*

200 OK
{
  "href" : "http://your.ambari.server/api/v1/users/userc/sources/1234",
  "AuthenticationSourceInfo" : {
    "authentication_type" : "LOCAL",
    "created" : 1498844132119,
    "source_id" : 1234,
    "updated" : 1498844157794,
    "user_name" : "jdoe"
  }
}