EasyManuals Logo

RFI U-router NGW User Manual

RFI U-router NGW
58 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background imageLoading...
Page #52 background image
The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language
without prior written consent of RFI Engineering B.V.
RefGuide_U-routerNGW_v1.01.docx Page: 51(57)
As an example, to add a user on the system:
curl -X POST https://192.168.168.1/api/user -u rfi:rfi123 -d
"action=add&username=user123&password=password&shell=/bin/bash"
Returns:
{
"status": "OK"
}
As an example, to change the password of a user on the system:
curl -X POST https://192.168.168.1/api/user -u rfi:rfi123 -d
"action=change&username=user123&password=somethingnew"
Returns:
{
"status": "OK"
}
As an example, to delete a user on the system:
curl -X POST https://192.168.168.1/api/user -u rfi:rfi123 -d
"action=delete&username=user123"
Returns:
{
"status": "OK"
}
If you try to delete a non-existent user the API returns an error.
As an example, trying to delete user123, which was previously deleted:
curl -X POST https://192.168.168.1/api/user -u rfi:rfi123 -d
"action=delete&username=user123"
Returns:
{
"status": "error",
"message": "User: '{user123}' not found"
}

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the RFI U-router NGW and is the answer not in the manual?

RFI U-router NGW Specifications

General IconGeneral
BrandRFI
ModelU-router NGW
CategoryNetwork Router
LanguageEnglish