You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Add User

Add a user

Request
MethodURL
POST/api/v1/users
Request Body
ParameterTypeExampleDescription
Users/user_namestringmyusername 
Users/passwordstring

mypassword

 
Users/activebooleantrue 
Users/adminbooleanfalseShould the user be an Ambari admin?
Request Body Example
{
    "Users/user_name": "myusername",
    "Users/password":  "mypassword",
    "Users/active": true,
    "Users/admin": false
}
Response
StatusBody
201/empty/

Grant Privilege

Change Password

  • No labels