set ip whitelist
POST
/api/static_direct_proxy/set_ip_whitelistRequest
Body Params application/json
id
integer
required
record id to set
ip_list
array[string]
required
ip array
Example
{
"id": 1,
"ip_list": [
"127.0.0.1",
"127.0.0.2"
]
}
Request samples
Responses
result(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta_message
string
required
success or other error msg
meta_status
integer
required
1 success, negative for error
Example
{
"meta_message": "string",
"meta_status": 0
}
Last modified: 2 年前