Update Channel
PUT
/api/v1/api/channel/{channelId}Request
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
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
boolean
required
err
boolean
required
msg
string
required
code
integer
required
Example
{
"data": true,
"err": false,
"msg": "SUCCESS",
"code": 200
}
Modified at 6 months ago