跳转到主要内容
POST
/
customer
/
v2
/
licenses
/
{license}
/
ips
Add IP to Whitelist
curl --request POST \
  --url https://orbitflare.com/api/customer/v2/licenses/{license}/ips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ip_address": "127.0.0.1",
  "location_id": 123,
  "expires_at": "2023-11-07T05:31:56Z"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

授权

Authorization
string
header
必填

Bearer token from device or wallet auth

路径参数

license
string
必填

请求体

application/json
ip_address
string<ipv4>
必填
location_id
integer
必填
expires_at
string<date-time>

Optional expiration

响应

IP added.

success
boolean
示例:

true

message
string
data
object