POST
/
gateway
/
apiKeys
/
ipwhitelist
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/gateway/apiKeys/ipwhitelist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ips": "136.144.17.156"
}'

This endpoint is responsible for whitelisting an IP address which is to be attached to a particular API KEY. This adds an extra layer of security by ensuring that API calls can only be made from approved IP addresses.

The IP address must be approved using the OTP sent to the user’s email address before it becomes active.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200

IP successfully whitelisted