appliance techpreview localaccounts user: add
Create a new local user account.
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/local-accounts/user
Request Body Structure:
{
"config" : {
"password" : "secret string",
"role" : "admin",
"fullname" : "string",
"email" : "string",
"username" : "string"
}
}
"config" : {
"password" : "secret string",
"role" : "admin",
"fullname" : "string",
"email" : "string",
"username" : "string"
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
config | new_user_config | User configuration. |
config.username | string | User login name |
config.role | string | User roles. The default role is operator. Optional. role Default role is operator. |
config.password | secret | User login password In Interactive mode, provide --password as part of the command, and enter the value on the prompt. When accessed remotely, provide --password value as part the command. |
config.fullname | string | User full name Optional. fullname Optional full name for a person. |
config.email | string | Email address of the local account. Optional. email Optional email. |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |