Modem authorization
Last updated
Last updated
GET
https://mobile.proxy-seller.com/api/v1/modemAuths/{modemAuthId}
This query returns the authorization data by its ID.
Example
Path parameters
Name | Type | Description |
---|---|---|
Headers
Name | Value |
---|---|
Response
POST
https://mobile.proxy-seller.com/api/v1/modemAuths
This request creates authorization on the modem (adds a user). For modems with the "BASIC" tariff, only one user can be installed
Example
Headers
Request body
Example request body
Response
PUT
https://mobile.proxy-seller.com/api/v1/modemAuths/{modemAuthId}
This request edit authorization on the modem .
Example
Headers
Request Body
Example request body
Response
successful answer has no body, the success state is determined by the status 200
DELETE
https://mobile.proxy-seller.com/api/v1/modemAuths/{modemAuthId}
This request removes authorization from the modem (deletes the user)
Example
Path Parameters
Headers
Response
GET
https://mobile.proxy-seller.com/api/v1/modemAuths/{modemAuthId}/proxyLimit
This request returns the limits of the specified authorization (user) on the selected modem
Example
Path Parameters
Query parameters
Headers
Response
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
modemAuthId*
String
Id of modem Authorization
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
modemIds*
Array of String
Array of modem IDs on which the authorization method will be written
authType*
enum: ["LOGIN", "IP"]
Сan only be "LOGIN" or "IP"
ip*
String
IP adress (must equal the empty string if authType = "LOGIN")
login*
String
can only contain Latin letters, numbers and special characters (must equal the empty string if authType = "IP")
password*
String
can only contain Latin letters, numbers and special characters (must equal the empty string if authType = "IP")
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
authType*
enum: ["LOGIN", "IP"]
Сan only be "LOGIN" or "IP"
ip*
String
IP adress (must equal the empty string if authType = "LOGIN")
login*
String
can only contain Latin letters, numbers and special characters (must equal the empty string if authType = "IP")
password*
String
can only contain Latin letters, numbers and special characters (must equal the empty string if authType = "IP")
modemAuthId*
String
id of modem authorization
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
modemAuthId*
String
id of modem authorization
modemId*
String
id of modem
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>