List Users

Back to User Resources

Summary

Returns a collection of the existing Users.

GET /users

Response

Example

Get the collection of all currently stored users.

GET /users

200 OK
{
  "href" : "http://your.ambari.server/api/v1/users",
  "items" : [
    {
      "href" : "http://your.ambari.server/api/v1/users/admin",
      "Users" : {
        "user_name" : "admin"
      }
    },
    {
      "href" : "http://your.ambari.server/api/v1/users/jdoe",
      "Users" : {
        "user_name" : "jdoe"
      }
    },
    {
      "href" : "http://your.ambari.server/api/v1/users/jsmith",
      "Users" : {
        "user_name" : "jsmith"
      }
    },
    {
      "href" : "http://your.ambari.server/api/v1/users/jqpublic",
      "Users" : {
        "user_nane" : "jqpublic"
      }
    }
  ]
}