Skip to main content
DELETE
/
api
/
reseller
/
v1
/
subusers
/
{id}
/
whitelist
Remove whitelist IP
curl --request DELETE \
  --url https://www.eclipseproxy.com/api/reseller/v1/subusers/{id}/whitelist \
  --header 'Content-Type: application/json' \
  --data '
{
  "ip": "<string>"
}
'
Remove an IP from a subuser’s whitelist.

Authentication

Requires a reseller API key. Pass it as Authorization: Bearer YOUR_API_KEY or X-API-Key: YOUR_API_KEY. See Reseller overview.

Path parameters

id
string
required
The subuser username (full prefixed username, e.g. MYSTORE_user1).

Body parameters

ip
string
required
The IP address to remove from the whitelist.

Example request

{
  "ip": "192.168.1.1"
}

Example response

{
  "status": "success",
  "message": "IP removed from whitelist",
  "messageCode": "IP_REMOVED",
  "data": {
    "username": "MYSTORE_user1",
    "whitelistIPs": ["10.0.0.1", "192.168.1.50"]
  }
}

Errors

  • 401 UNAUTHORIZED: missing or invalid API key
  • 403 NOT_RESELLER: account is not a reseller
  • 404 NOT_FOUND: no subuser with that username