Skip to main content
POST
/
ip-white-list
Update IP whitelist
curl --request POST \
  --url https://ramp-sandbox.hexarails.ai/ip-white-list \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "ipWhiteList": [
    "115.236.134.118",
    "47.89.58.120"
  ]
}
'
{
  "status": "SUCCESS",
  "data": {
    "message": "IP whitelist updated successfully"
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json
ipWhiteList
string[]
required

IP whitelist, comma-separated or array. Empty array means no restriction.

Example:
["115.236.134.118", "47.89.58.120"]

Response

Update IP whitelist successful

status
enum<string>
required

Success response status

Available options:
SUCCESS
Example:

"SUCCESS"

data
object
required

Response data