CLI REST-API
users
The submenu users (users) contains the following:
Menus:
root (root)
Objects: none
Commands:
add-user (creates a new user on the local system)
delete-user (removes a user account)
show-user (shows the information stored for a given user account)
See also:
/users/[USER]
/users/add-user: creates a new user on the local system
/users/delete-user: removes a user account
/users/show-user: shows the information stored for a given user account
/status: status
REST-API Support:
This menu is supported by the REST API:
Method: GET
URL: /api/users
Example using curl:
curl /api/users
Method: PATCH
URL: /api/users
Body:
{
\"objects\": \"new-values\"
}
Example using curl:
curl -X PATCH /api/users
-d "{
\"objects\": \"new-values\"
}"
Method: POST
URL: /api/users
Body:
{
\"objects\": \"new-values\"
}
Example using curl:
curl -X POST /api/users
-d "{
\"objects\": \"new-values\"
}"