Create a user
/api/v1/user/create?user=user&pwd=password&vdc=controller-name
Username
User password
Name of the target virtual data center
A comma-separated list of groups the user must become a member of
The first group in the list becomes the user’s primary group.
User profile property settings
User’s password
A public SSH key to install as the user’s access key to the CLI.
Must be either RSA or DSA base-64 encoded.
Note: See User Management in the Command Line Shell Reference for descriptions of the options available for this command.
synchronous
GET
Create a user named test@CA.com.
GET http://192.168.123.200/api/v1/user/create?user=test@CA.com&pwd=password&vdc=mygrid
<opt></opt>
{}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (user). - Argument user=username missing in the request.
Missing required arguments (pwd). - Argument pwd=password missing in the request.
unknown@CA.NOSPAM.com already exists. - User specified in the request already exists.
|
Copyright © 2012 CA.
All rights reserved.
|
|