Resources | node | oam | localAuth | users | set

set

Create a user account

Input Params

NameMandatoryDefaultDescription
userM The name of the user.
groupM The group that the user is a member of.
passwordAgingStateOenabled The state of password expiry for the user.
accountAgingStateOenabled The state of account expiry for the user.
passwordLoginSupportOenabled Whether the user is allowed to login using password. For Certificate authentication through browser (EMA) this field can be set to disabled.
interactiveAccessOenabled Whether the user is allowed to access interactive interfaces like CLI/EMA.
m2mAccessO Whether the user is allowed to access machine to machine interfaces like REST.
accountRemovalStateOenabled The state of automatic account removal for the user.

Output Params

NameDescription
result
reason
RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/operations/sonusNodeList:node={nodeName}/sonusNodeListOrca:oam/sonusNodeListAaa:localAuth/users/set --data '
<set>
     <user>{user}</user>
     <group>{group}</group>
</set>
'

  • No labels