Create authorization

In this case study, we will look at how to create an authorization (user) on the modem.

To create authorizations (user) on the modem, perform the following steps:

  1. Get a list of your modems and select some of them. You can get a list of modems by host or without host.

  2. Use the following method from our API Create modem authorization

You can add authorization (user) to several modems at once.

Authorization can be either by login and password or by IP, specify the type you need and valid data according to the type.

Attention on modems with Basic tariff you can add only one authorization (user).

Example of successful execution of a request in JSON format:

{
  "modemAuth": {
    "id": "1237jj213cb7965413342665",
    "authType": "LOGIN",
    "login": "samuel",
    "password": "re129883pas",
    "ip": ""
  },
  "errors": {}
}

Last updated