Would like to know the RESTCONF API for “id” command
Want to execute id command as a RESTCONF API to retrieve the information about the a user account.
@cohult could you please give your thoughts.
In the basic setup, the data retrieved by id
is available as configuration data under /aaa/authentication/users
and something under /nacm/groups
. But note that the command id
retrieves data about the current user; and for connecting to the RESTCONF interface you first have to authenticate yourself, i.e. provide (the subset of) the data retrieved by id
.