Set information for a user
/api/v1/user/set?user=user&vdc=controller-name
Name of the user
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
Set real name for a user named test@CA.com.
GET http://192.168.123.200/api/v1/user/set?user=test@CA.com&realname=John&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.
unknown@CA.NOSPAM.com does not exist. - Invalid user specified in the request.
|
Copyright © 2012 CA.
All rights reserved.
|
|