Nstproxy
  1. Api
Nstproxy
  • Api
    • Get User Info
      GET
    • Get Plan Info
      GET
    • Get Country List
      GET
    • Get State List
      GET
    • Get City List
      GET
    • Generate Proxies List
      GET
    • Get Channels
      GET
    • Channel Info
      GET
    • Add Channel
      POST
    • Update Channel
      PUT
    • Delete Channel
      DELETE
  1. Api

Update Channel

PUT
/api/v1/api/channel/{channelId}
Api

Request

Authorization
Add parameter in query
token
Example:
token: ********************
Path Params
channelId
string 
required
Body Params application/json
name
string 
required
password
string 
required
limit
integer 
required
country
string 
required
state
string 
required
city
string 
required
whitelist
array[string]
required
senses
array[string]
required
Example
{
  "name": "test",
  "password": "123456",
  "limit": 10000000000,
  "country": "US",
  "state": "FL",
  "city": "miami",
  "whitelist": [
    "8.8.8.8"
  ],
  "senses": []
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.nstproxy.com/api/v1/api/channel/?token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "test",
    "password": "123456",
    "limit": 10000000000,
    "country": "US",
    "state": "FL",
    "city": "miami",
    "whitelist": [
        "8.8.8.8"
    ],
    "senses": [
        
    ]
}'

Responses

🟢200OK
application/json
Body
data
boolean 
required
err
boolean 
required
msg
string 
required
code
integer 
required
Example
{
  "data": true,
  "err": false,
  "msg": "SUCCESS",
  "code": 200
}
Modified at 2024-04-12 03:22:28
Previous
Add Channel
Next
Delete Channel
Built with