Proxy limit

Proxy limit

GET https://mobile.proxy-seller.com/api/v1/proxyLimits/{id}

This request returns the limits of the specified authorization (user) by id

Example

https://mobile.proxy-seller.com/api/v1/proxyLimits/652319f04cb7965413432168

Path parameters

NameTypeDescription

id*

String

Id of proxy limit

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

{
  "id": "652319f04cb7965413432168",
  "ownerId": "62326bcaf3904578675f9ef7",
  "speedLimit": 10000,
  "trafficLimit": 10000
}

Create limit

POST https://mobile.proxy-seller.com/api/v1/proxyLimits

This request ecnfyfdkbdftn the limits of the specified authorization (user) on the specified modem.

Attention: setting at least one limit on the modem authorization will reset the modem limit setting, if it is set.

Example

https://mobile.proxy-seller.com/api/v1/proxyLimits

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request body

NameTypeDescription

modemAuthIds*

Array of String

Array of modem authorization IDs on which the limit will be written

modemId*

String

id of modem

speedLimit*

Number

modem speed limit in bits

trafficLimit*

Number

traffic speed limit in bits

Example request body

{
    "modemId": "63c234098746e15666325bf9f",
    "modemAuthIds": ["62326bcaf3904578675f9ef7"],
    "speedLimit": "100000",
    "trafficLimit": "200000"
    
}

Response

{
  "failedModemAuths": []
}

Last updated