ProSBC:Restful API User
You can create or modify a user in your system with the RESTful API using JSON format, in the following format:
{
"pass": "Abc_123@",
"user_group": "Admin",
"account_enabled": true,
"email": "support@telcobridges.com",
"***meta***": {
"version": "3.1.137",
"src_path": ""
},
"name": "support"
}
Important parameters in the JSON file
Adding a new User
You can add a new User with the POST command:
POST http://ProSBCIP:12358/users
ProSBC will create a new User from the name in the JSON file.
Example: Using the Postman tool, the URL is:
http://192.168.1.25:12358/users
If the new User is created successfully, the following message is returned in the Postman Tool
Modifiying a User
You can modify the existing User with the PUT command:
PUT http://ProSBCIP:12358/users/user_name
Example: Using the Postman tool, the URL is:
http://192.168.1.25:12358/users/support we change the support account password to 123@Abc!9
If the update is successful, the following message is returned in the Postman Tool
Learn more about how to use RESTful API and Postman Tool from the following link Northbound_interface:RESTful.